>Nancy,
>
>Thanks. I got it working by putting this code in the keypress method:
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>do case
> case nKeyCode = 9 or nKeyCode = 13 or nKeyCode = -3
> * 9 = Tab 13 = Enter -3 = F4
>
> otherwise
> nodefault
>endcase
>
>And putting KEYBOARD '{F4}' in the when method.
Cool. Though, if you want my opinion, in the GotFocus is more logical. Not really critical, but would probably suprise the heck out of someone to find it there. :)
Précédent
Suivant
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