Tom Knowlton
asked on
TDateTimePicker error - ShowCheckBox mode
I have a TDateTimePicker set to "Time" mode.
I have noticed when scrolling through the numbers, sometimes I will get an error message:
Project ... raised exception class EDateTimeError with message 'You must be in ShowCheckbox mode to set this date'.
Now, I noticed that in the Properites for the TDateTimePicker there IS a property called "ShowCheckbox" and it WAS set to false.
Now, I can try setting this to true and see if the error goes away, but what I don't understand is what this error has to do with me scrolling throught e hours or minutes in a TDateTimePicker.
Thanks,
Tom
I am "points poor" so I can only offer 10 points
I have noticed when scrolling through the numbers, sometimes I will get an error message:
Project ... raised exception class EDateTimeError with message 'You must be in ShowCheckbox mode to set this date'.
Now, I noticed that in the Properites for the TDateTimePicker there IS a property called "ShowCheckbox" and it WAS set to false.
Now, I can try setting this to true and see if the error goes away, but what I don't understand is what this error has to do with me scrolling throught e hours or minutes in a TDateTimePicker.
Thanks,
Tom
I am "points poor" so I can only offer 10 points
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you
:-)
ASKER
Delphi4\Source\Vcl\Comstrs
sNeedAllowNone = 'You must be in ShowCheckbox mode to set to this date';