Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox format code problem
Message
 
À
05/04/2001 10:59:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00492353
Message ID:
00492395
Vues:
14
>If you put a '!' in the format code for a textbox, it is supposed to convert all text input into upper case. This works fine, except that if the user hits a non-text key, such as F5, then the textbox gets an unprintable char showing up in the box. The F key is part of my applications functionality, and in the keypress method, I have NODEFAULT in the case statement that handles it. The funny char still shows up in the text box, though. I had to take the format code out, and set CAPSLOCK = .T. in the gotfocus method, which does not work as well for me.
>
>Any ideas?

You can also use the InputMask property.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform