Calendar default value


Licensed User
Longtime User
I had a look at dfallen's CountDown program and found a 'strange' behaviour of the Calendar control.
The Calendar.Value is initialized by default to Now and not to the today's date value.
After having selected today's date in the Calendar the value is OK.

Attached a test program:
After running the program and clicking on Done we see that Time is not 00:00 but shows the current time.
After selecting today's date in the calendar the value is OK.

As a workaround, following line in the AppStart routine avoids it.

Best regards.


  • Calendar.sbp
    990 bytes · Views: 271