Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 and _CUROBJ
Message
From
25/11/1998 22:58:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00161344
Message ID:
00161696
Views:
44
>Try the following
>
>lnNextControl = THIS.TabIndex+1
>IF THISFORM.ControlCount > lnNextControl
> THISFORM.CONTROLS(lnNextControl).SETFOCUS
>ENDIF
>
>You could also make it more sophisticated by checking to ensure that
>THISFORM.CONTROLS(lnNextControl).BASECALASS <> "LABEL" and also <>"CONTAINER" .. etc


Russ

This only works if the TAB order AND the Focusable controls have the same order.
I will have to change the tab order and see. Should work.

Thanks
Bernard
Previous
Reply
Map
View

Click here to load this message in the networking platform