General information
Category:
Coding, syntax & commands
>Is it possible to detect which control has a tab order of "1" and to set focus to that control?
lnMin = 9999
FOR lnI = 1 TO _Screen.ActiveForm.ControlCount
IF _Screen.ActiveControl.TabIndex < lnMin
lnMin = _Screen.ActiveControl.TabIndex
loControl = _Screen.ActiveControl
ENDIF
ENDFOR
loControl.SetFocus()
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