Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get out of grid via Tab or arrow keys; must use mo
Message
 
À
09/08/2002 09:22:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00687941
Message ID:
00687951
Vues:
9
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
Fil
Voir

Click here to load this message in the networking platform