Calendar default value

klaus

Expert
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.
 

Attachments

  • Calendar.sbp
    990 bytes · Views: 323
Cookies are required to use this site. You must accept them to continue using the site. Learn more…