Why don't you try lostfocus? And then write some program to check key like this. Lastkey() is still alive in VFP.
if lastkey() = 13
thisform.text1.setfocus
(or anything you want to do)
endif
Add this to lost focus event.
I think this is compatible to DOS application right?
Hope this help.
Pium :-)
>Doesn't work.
>
>Let me state the specific circumstances. It is
>simple in theory ... but difficult in practice.
>
>Form contains (in this tab order) a TEXTBOX,
>COMMAND BUTTON, OPTION GROUP. If the user presses
>the ENTER key while the OPTION GROUP is the active
>control I wish control to go to the TEXTBOX.
>I am unable to make this happen.
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