View Single Post
  #1 (permalink)  
Old 01-29-2010, 12:07 PM
klaus's Avatar
klaus klaus is offline
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,807
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default Calendar default value

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.
Attached Files
File Type: sbp Calendar.sbp (990 Bytes, 22 views)
__________________
Klaus
Switzerland
Reply With Quote