Information générale
Catégorie:
Gestionnaire d'écran & Écrans
It depends on how grid is designed, what is RowSiource, how it is ordered, etc. For instance,you could insert into the Grid.(LastColumn).Text1.LostFocus
if recc()=recn() or eof()
thisform.Button_name_you_need.Setfocus
endif
>Hi there,
>
>I've got a VFP 5.0 application that I'm working on right now. I've got a grid on a form that I'm having some difficulty with. I would like to, upon leaving the last record/row via the enter key, tab key, down arrow (or even page down, if I can get that to work), have the focus go from the grid to a command button. But this only happens if the mouse is clicked on one of the command buttons. I would like the users to be able to leave the grid via the keypad.
>
>Any ideas?
>
>Thanks,
>
>Joe
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