Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make input either M or F?
Message
 
 
To
07/04/1999 00:13:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00205859
Message ID:
00206316
Views:
12
Gan,

The easiest way is to set the txt.Format to M and set the InputMask to M,F

>I have a textbox for entering "Sex", it's either M or F. How to make the user only be able to enter M or F from the keyboard, just like entering Y/N?
>??? Set the event txtSex.InteractiveChange? Please help me with the code.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform