Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upper case character only
Message
De
22/06/2000 19:16:59
 
 
À
22/06/2000 19:04:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00383515
Message ID:
00383520
Vues:
15
>VFP 6.0
>
>How do you make a input text box only accept upper case characters?

If you simply want to force alpha characters to upper case, you can use "!A" in the Format property; this will not prevent the user from entering numerals, will force all alpha characters to upper case, and will block spaces, comma and gthe like. If you want to restrict to only alpha characters, you'll have to trap the KeyPress or InteractiveChange event and check the inpout string.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform