Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox time formatting
Message
From
13/03/1999 17:38:21
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00197278
Message ID:
00197289
Views:
15
>I have only the standard VFP controls to use so I am trying to use the txtbox to allow only time entry. I am so far unsucessfull at doing so. Does anyone know how to code/set properties for this if it can be done?

Do you need time, or date and time? If date and time, just set the box's initial value to a datetime value, and VFP will take care of the formatting for you. If just time, well, that's a little trickier. You can set up a textbox with an input mask of "99:99:99", but then you are responsible for checking the validity of the value in the field's valid event.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform