Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any way to exclude objects from a tab order?
Message
From
21/06/1998 15:22:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00110378
Message ID:
00110380
Views:
37
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform