Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format property in Editbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01159363
Message ID:
01159370
Vues:
28
>When using the editbox control, I guess I've never had a reason to want the entered text in all caps. I wouldn't have a Notes field, for instance, and not let the user type mixed case. But today I needed all the text entered into an editbox to be uppercase. Unfortunately, VFP seems to not do this even if you set the Format property to "!" (without the quotes, of course). I can do it via KeyPress, I'm sure, but it seems odd to me that it wouldn't recognize this. Is there another solution besides the Format property or some code in KeyPress. Maybe I'm forgetting something simple.
>
>Russell Campbell

Russell,

In the LostFocus event, This.Value = UPPER(This.Value).

Regards,
Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform