DateTime_SetFormat(DateTimePickerTest.Handle, pChar('H:mm:ss'));

HTH

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ross Levis
Sent: Wednesday, 22 January 2003 8:37 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: TDateTimePicker Time Format


Using D5, I want the TDateTimePicker in dtkTime mode to display the time 
as hh:nn:ss (24 hour clock), however, it seems it decides it's own 
format based on the regional time settings.  I tried changing the 
LongTimeFormat & ShortTimeFormat to no avail.  Is there anyway to change 
the format without changing the regional settings?

Thanks,
Ross Levis.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to