Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Entry
Message
From
12/11/2008 14:50:01
 
 
To
12/11/2008 14:46:57
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361431
Message ID:
01361440
Views:
24
>>>We have a ComboBox class for time entry. If you type like this:
>>>
>>>01:15 PM
>>>
>>>Everything is fine. But if you enter like this:
>>>
>>>1:15 PM
>>>
>>>Then it ends up looking like this:
>>>
>>>1::15 PM
>>>
>>>How do we get it to jump to the minutes after the ":" is typed? Foxpro really doesn't handle this type of entry well.
>>
>>Do you use inputmask, e.g. "99:99" and format "R"?
>
>We have InputMask as below and no Format.
>
>!!:!! !!
>
First of all, use "R" format. It will improve this thing, i.e. you will not get :: anymore. You could also make further improvements, e.g. by moving AM/PM part to separate box, or by resetting it in InteractiveChange event.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform