Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting trailing spaces in textbox control
Message
De
02/04/2001 17:12:54
 
 
À
02/04/2001 15:52:17
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00489758
Message ID:
00491105
Vues:
9
Did you test after the user exited the field? As I mentioned, upon exit, the value is changed.

Here's a thought to trap the actual value prior leaving the field, but making it available after exit. I haven't tried it, but I'd be interested if you do.

In the KEYPRESS, just assign the .TEXT value to a property you've created for that textbox. You'll also want to do a DODEFAULT() so that the event processes values you've passed. Something like this:

cText -- user defined property for textbox, assigned an initial value of "".

.KEYPRESS()
LPARAMETERS nKeyCode, nShiftAltCtrl

THIS.cText = THIS.TEXT
DODEFAULT (nKeyCode, nShiftAltCtrl)



Jay
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform