Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format property to limit input in textbox
Message
From
19/04/2016 02:57:02
 
 
To
18/04/2016 17:11:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01634940
Message ID:
01634951
Views:
60
>Is it possible to, using the format property to limit the input into a textbox? For instance Only three letters - a Y for Yes, an N for No, and an M for Maybe - and have it not lose focus if one of those are not entered. I know how to do it in the Valid method, but was wondering if there was some magic to use in the Format property, or something
>
>Thanks.

Hi John:

You can use Bill's method with inputmask or you can use a combobox with this 3 options too, so only this letters can be selected and the focus is not lost until you press TAB, ENTER or click on another control.
Fernando D. Bozzo
Madrid / Spain
Previous
Reply
Map
View

Click here to load this message in the networking platform