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.

Usage of TMonthCalendar:aHolidays

Xailer professional forum in English
Responder
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

Usage of TMonthCalendar:aHolidays

Mensaje por Xailer »

Hello Ignacio,Jose
I am a little confuse when use aHolidays property of TmonthCalendar control. I try almost everything array from {12/12/2011,10/10/2011} and {"12/12/2011","10/10/2011"}, but these dates not writen with bold characters as the documentation says.
Any help on this would be apreciate.
TIA
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Usage of TMonthCalendar:aHolidays

Mensaje por jlalin »

Dionisis,
the dates need to be in date format in order to work. Try this way:
oMonthCalendar:aHolidays := { CToD( "12/12/2011" ), CToD( "10/10/2011" ) }
Regards,
José Lalí­n
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

Usage of TMonthCalendar:aHolidays

Mensaje por Xailer »

Many thanks Josi works fine.
TIA
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
Responder