Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any way to exclude objects from a tab order?
Message
De
21/06/1998 15:22:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00110378
Message ID:
00110380
Vues:
38
>Hi all,
>
>I wonder if there's a way to do this. I have three grids in a form and I've found that after I tab through all the textbox objects in the form, at one point the grids catch the focus and don't release it. Grids don't have gotfocus and lostfocus methods so I have no idea where to programatically assign focus to a different object.
>
>Any ideas?
>
>Thanks
>
>Gil

This may or may not be the best way to do this, but it is how I have handled it in the past-
IN the form.keypress event (form.keypreview must be .T.)

IF nkeycode = 9 and thisform.activecontrol.name = "mygrid1"
nodefault
thisform.txtnextcontrol.setfocus
ENDIF
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform