Dear developers!
In attached sample I try to call modal form with TMonthCalendar.
When I select some date with double click or Enter key,
TMonthCalendar:dValue
becomes empty. It happens after ShowModal call. When I trace
TMonthCalendar:dValue before this form close,
it has the correct value.
Can you look at this problem?
Thank you. Oleg.
Attached files test14.zip (2.8 KB)Â
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.
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.
TMonthCalendar:dValue
TMonthCalendar:dValue
Oleg,
> In attached sample I try to call modal form with TMonthCalendar.
> When I select some date with double click or Enter key,
> TMonthCalendar:dValue
> becomes empty. It happens after ShowModal call. When I trace
> TMonthCalendar:dValue before this form close,
> it has the correct value.
If I understood correctly just set lHideOnClose to .T. and it should work.
Regards,
José Lalín
> In attached sample I try to call modal form with TMonthCalendar.
> When I select some date with double click or Enter key,
> TMonthCalendar:dValue
> becomes empty. It happens after ShowModal call. When I trace
> TMonthCalendar:dValue before this form close,
> it has the correct value.
If I understood correctly just set lHideOnClose to .T. and it should work.
Regards,
José Lalín
TMonthCalendar:dValue
Oleg,
> In attached sample I try to call modal form with TMonthCalendar.
> When I select some date with double click or Enter key,
> TMonthCalendar:dValue
> becomes empty. It happens after ShowModal call. When I trace
> TMonthCalendar:dValue before this form close,
> it has the correct value.
If I understood correctly just set lHideOnClose to .T. and it should work.
Regards,
José Lalín
> In attached sample I try to call modal form with TMonthCalendar.
> When I select some date with double click or Enter key,
> TMonthCalendar:dValue
> becomes empty. It happens after ShowModal call. When I trace
> TMonthCalendar:dValue before this form close,
> it has the correct value.
If I understood correctly just set lHideOnClose to .T. and it should work.
Regards,
José Lalín
TMonthCalendar:dValue
Jose!
Thank you. It works.
Oleg.
Thank you. It works.
Oleg.
TMonthCalendar:dValue
Jose!
Thank you. It works.
Oleg.
Thank you. It works.
Oleg.