Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing spaces in textfield value
Message
De
11/06/2003 13:49:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00799043
Message ID:
00799047
Vues:
31
This message has been marked as the solution to the initial question of the thread.
Easy way:

Put N's in the inputmask...for example, if it is a 5 character field, put:

NNNNN

If you need to allow other characters besides numbers and letters, I can give you another way (involving keypress()).


>Is there an easy and/or hard way to make sure that when the user enters a value in the textbox (on a form) that the value does not contain spaces. I can do an alltrim to leading and trailing, but it's the one's in the middle I need to make sure they don't do.
>
>thanks
>Kirk
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform