Jaco Guest
|
Posted: Thu Feb 26, 2004 2:37 pm Post subject: TDateTimePicker Edit Both Date and Time |
|
|
Hi,
I was able to display both the Date and Time by using sendMessage as
follows.
SendMessage(DateTimePicker1.Handle,
DTM_SETFORMAT,
0,
LongInt(PChar('dd/MM/yyyy HH:mm:ss')));
The problem is that Delphi 7 does not allow me to change both the date
and the time.
When Kind is set to dtkDate, I can change the date and not the time,
and if Kind is set to dtkTime, I can change the time and not the Date.
Is there a way I can change both the date and the time in the edit
area and still keep the calendar dropdown to change the date?
Thanks,
Jaco
|
|