|
-
Feb 15th, 2000, 08:32 PM
#1
Thread Starter
Addicted Member
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!
-
Feb 15th, 2000, 08:42 PM
#2
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
-
Feb 15th, 2000, 08:45 PM
#3
Thread Starter
Addicted Member
Thanks, I've discovered the DTpicker has a time but don't know how to get rid of seconds?
-
Feb 16th, 2000, 02:17 AM
#4
Frenzied Member
Look into the CustomFormat property...
-
Feb 16th, 2000, 04:17 AM
#5
Hyperactive Member
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 
------------------
Andrew Nerney
Hapless Programmer
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|