Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Determine # of characters input in a field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00759242
Message ID:
00759243
Vues:
15
>Is it possible (without using keypress) to determine the # of characters (including trailing blanks) in a field?
>For example, I have a field in an form (no control source) that has an input mask of =replicate('X',30). If 'abc' or 'abc ' is input, the length of this.value is 30. If I check the length of the alltrim, it is 3, of course.
>Or to present the question another way ... How would I determine * exactly * what the user entered?
>TIA.

That was a problem discussed few years ago by Jill Derickson.

Re: Detecting trailing spaces in textbox control Thread #489758 Message #490560
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform