Subject | Re: [IBO] Trouble with TDateTimeEnh |
---|---|
Author | Geoff Worboys |
Post date | 2007-04-24T09:29:24Z |
Hi Paul,
"No longer taking any notice of the dtoShowTime, dto24HourTime,
dtoShowSeconds options. These to be automatically configured
according to the format and data type."
So if the basic data type is date only it will not show and
time inputs, if it is a timestamp it will show time.
For date+time fields it will check the format and configure
24hr vs 12hr time display and whether seconds are displayed
according to the format string.
I realise now that this may not be ideal if you have reasons
for overriding the underlying data type. Is this a problem
for you? Why would you define a timestamp field and then only
offer date editing (not time editing) ?
--
Geoff Worboys
Telesis Computing
> Just another thought while you are looking at TIB_DateTimeEnh ;-)Back on 21-Apr-2006 I see a note to myself in the code:
> Should the time edits show on the drop down panel when dtoShowTime
> is false?
"No longer taking any notice of the dtoShowTime, dto24HourTime,
dtoShowSeconds options. These to be automatically configured
according to the format and data type."
So if the basic data type is date only it will not show and
time inputs, if it is a timestamp it will show time.
For date+time fields it will check the format and configure
24hr vs 12hr time display and whether seconds are displayed
according to the format string.
I realise now that this may not be ideal if you have reasons
for overriding the underlying data type. Is this a problem
for you? Why would you define a timestamp field and then only
offer date editing (not time editing) ?
--
Geoff Worboys
Telesis Computing