Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box validation
Message
De
04/12/2015 03:21:44
 
 
À
04/12/2015 01:36:41
Muthu Vel
Sty Company
Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01628467
Message ID:
01628470
Vues:
38
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform