[DUG] DateTimePicker
John Bird
johnkbird at paradise.net.nz
Tue Jun 29 13:42:08 NZST 2010
When a TDateTime is set from a DateTimePicker that is being used for Date
selections what is set for the time component? Or is it random? I am
wondering because two different pickers seem to return unrelated times and
it looks like I have to do some testing and correcting.
And for testing - I think that a test such as
if DatePicker1.date = date then......
might not be a reliable test (if both are effectively floating point)
This is D5 in case later versions have smarter testing....
John
More information about the Delphi
mailing list