General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only