Discussion:
TDateTimePicker
(too old to reply)
Sudesh
2008-01-05 00:28:53 UTC
Permalink
hello

1. is it possible to display both date and time together in TDateTimePicker?
2. how to have increment/decrement (with mouse and keys) where increment
after 60 ss(seconds), mm will increase, decrement after 00 ss, mm will
decrease and similirly for hh, date etc.
3. any better component for this?

thanks,
sudesh
Remy Lebeau (TeamB)
2008-01-05 02:27:10 UTC
Permalink
Post by Sudesh
1. is it possible to display both date and time together in
TDateTimePicker?
No. You need to use separate TDateTimePicker objects for that.
Post by Sudesh
2. how to have increment/decrement (with mouse and keys)
where increment after 60 ss(seconds), mm will increase,
decrement after 00 ss, mm will decrease and similirly for hh, date etc.
Date/Time picker controls do not natively support that. You will have to
set the ParseInput property to true and then use the OnUserInput event to
update the values manually.


Gambit
Sudesh
2008-01-05 03:46:24 UTC
Permalink
Thanks Remy
Sudesh

Loading...