Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00392129
Message ID:
00392255
Vues:
9
Hi Rip.

>> I have some code I want to run in the keypress event of a textbox. In the event code I have a dodefault() but it doesn't appear to update the value property of the control with the key that was pressed to get into the event code. <<

The default VFP KeyPress behavior is to either add the character to value or move the cursor (keys like TAB, LEFTARROW, etc). As long as you do not explicitly issue a NODEFAULT, the native VFP KeyPress behavior will execute after your custom code runs.

You will not 'see' the effect of the KeyPress until it is finished executing.

What exactly is it that you are trying to do?

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform