Página 1 de 1

TCalendarMod:dValue - How to change?

Publicado: Jue May 26, 2022 12:47 pm
por Hurricane
Hi,

How to change date at runtime? after it has already been displayed.
In the documentation it says it is assignable.

Código: Seleccionar todo

METHOD Button5Click( oSender ) CLASS TForm2
   ::oCalendarMod1:dValue:=Date()-200 // the control continues to display the current date
   //::oCalendarMod1:Refresh(.T.)
   //ProcessMessages()
   //::Refresh()
RETURN Nil
In On*Create events it works, but it is not the case.

regards,

Re: TCalendarMod:dValue - How to change?

Publicado: Vie May 27, 2022 10:26 am
por ignacio
Fixed. Thks