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.

Leo

Patrick Dunford wrote:

> The DateTimePicker formats a time as time of day, which answers the first
> part of your question - the format is controlled by the Control Panel
> settings. It is worth pointing out here that the maximum duration you can
> enter is 23:59:59 in one of these controls.
>
> As to the second problem it is possible that you have an older version of
> the MS Common Controls DLL, ComCtl32.dll.
>
> There have been a number of updates of this DLL, some of which fix various
> bugs including in this control.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Leo Ramakers
> > Sent: Saturday, 12 February 2000 16:37
> > To: Multiple recipients of list delphi
> > Subject: [DUG]: DateTimePicker headscratcher
> >
> >
> > hi folks
> > I have a DateTimePicker which I use to enter a duration, works great on my
> > development machine. I set the 'kind' property to dktTime, and I
> > see something
> > like '00:00:00' in the display. I can select any one of the pairs
> > of digits and
> > enter from 00 to the logical amount for a time field. So I can
> > set, say, 18
> > minutes as 00:18:00.
> >
> > When I install this on a second (much older) machine I see
> > '12:00:00 AM' for the
> > same data value, anyone have clues why the change?
> >
> > regards
> > Leo
> >
> > ------------------------------------------------------------------
> > ---------
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> >
>
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to