In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TCalendarMod:dValue - How to change?

Xailer professional forum in English
Responder
Avatar de Usuario
Hurricane
Mensajes: 262
Registrado: Mar Mar 24, 2015 10:21 am
Ubicación: Brasil
Contactar:

TCalendarMod:dValue - How to change?

Mensaje 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,
Developments | Trainings | Projects
Site | E-mail | Messenger | YouTube
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: TCalendarMod:dValue - How to change?

Mensaje por ignacio »

Fixed. Thks
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder