[DUG] A good time picker???
Paul Heinz
paul at accredo.co.nz
Tue May 23 12:04:42 NZST 2006
Phil asked:
> Anyone recommend a good date/time picker -especially a time picker?
>
> The trouble with the windows one and its wrappers are some very annoying
> features. Picking off the drop down calandar is fine but slow if
> the date you
> want is months or years away. Using the control direct is bizarre. If you
> make a change, then you have arrow key to set it. If you tab,
> then it reverts.
> Talk about frustrating.
Yep, the Windows DateTimePicker sucketh mightily, it's butt ugly and has
particularly bad and inconsistent keyboard handling. Note that Microsoft
doesn't use it in their apps noteably Outlook and the Outlook date/time
pickers (or Calendar controls) are the ones users are most likely to be
familiar with.
There was some Delphi code floating around the net which 'recreated' the
DateTimePicker (in all it's ugliness) in straight Delphi. I think it was
written for Kylix/Qt actually. Anyway, we used that as a base (loosely in
the end) to write an Outlook style Calendar control look-a-like with
improved keyboard handling to match our application conventions.
If you google around it should be out there still and you could use that as
a base like we did. If you can't find it, I might have a copy of the
original Delphi code lurking around somewhere...
> A visual way to think about time would be good. Just typing the time works
> but the control has odd behaviour when you edit. I get bitten by
> wrong time but struggle to reproduce just how I made the mistake.
So when you say visual time, do you want some sort of analog round clock
they can click on the edge to indicate a time? I've never seen anything like
that and I wonder if it would be rather hard to use accurately. Admittedly,
it might look cute though :-)
TTFN,
Paul.
More information about the Delphi
mailing list