There must be a simple way to get the user to enter a valid time - like the date picker only for time? Basic question I know but haven't seen one and someone must know!
Printable View
There must be a simple way to get the user to enter a valid time - like the date picker only for time? Basic question I know but haven't seen one and someone must know!
Use the Masked Editbox, its under the list of components.
Microsoft Masked Editbox (or something like that).
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl
Thanks, I've discovered the DTpicker has a time but don't know how to get rid of seconds?
Look into the CustomFormat property...
On the DT's property pages, select
3-dtpCustom for the style and set the custom properties to HH.mm
You might want to double-check the "mm" part of that because the picker has the custom values MM and mm, with one being Month and the other being Minute. I think minute is "mm" but I would not swear to it and don't have VB in front of me right now :p
------------------
Andrew Nerney
Hapless Programmer
[email protected]