> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Leo Ramakers
> Sent: Saturday, 12 February 2000 17:47
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: DateTimePicker headscratcher
>
>
> Patrick
> Thanks for your time. I only had the one problem, that of
> displaying a time as
> 12:00:00 AM instead of 00:00:00. I copied the same ComCtl32.dll
> from the 'good'
> (win98) mc to the 'bad' (win95) machine, no change.
>
> I 'fixed' it by changing the Regional Settings in Control panel from
> 'English(USA)' to 'English(New Zealand)'. This doesnt give me
> confidence in
> using the DateTimePicker for time durations, for code I might
> export hopefully.
That is not what you said. You implied that one machine was displaying
00:18:00 and the other was displaying 12:00:00AM for the same time interval.
Now you are saying that in fact the only difference was in the format of the
displayed time.
The format is controlled as noted by the Regional Settings in Control Panel.
I don't recommend using this type of control for displaying or entering time
INTERVALS. Its function is to display TIME OF DAY. While you can use it to
enter intervals it cannot display or allow entry of intervals over 23 hours
59 minutes 59 seconds (This may not be a problem for you of course)
============================================
Patrick Dunford, Christchurch, NZ
EnzedRailWeb Sites
http://patrick.dunford.com/enzedrailweb/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz