Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 and _CUROBJ
Message
 
To
25/11/1998 10:15:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00161344
Message ID:
00161386
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform