Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement