Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text box validation
Message
From
04/12/2015 03:21:44
 
 
To
04/12/2015 01:36:41
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01628467
Message ID:
01628470
Views:
39
>I want to enter only text in text boxes . how to do this?

You can use the textbox .InputMask and .Format properties, optionally .MaxLength as well. Check out VFP help for those items.

For example, if you want a maximum length of 10, and characters only, you could do:
WITH MyTextBox
  .MaxLength = 10
  .Format = "AAAAAAAAAA"

ENDWITH
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform