Indicates the name of the first field specified in the tab order for the specified window. This control corresponds to the fist editable control when opening the window.
// Resume the input in the first control
<Result> = ControlFirst([<Window used>])
<Result>: Character string
- Name of the first control in edit in the specified window (this control can gain focus and it cannot be invisible or read-only).
- Empty string ("") if no control can take focus or if the specified window does not exist.
<Window used>: Optional window name
Name of the window used.
If this parameter is not specified or if it corresponds to an empty string (""), the current window will be used.
First control in the tab order
The tab order of the window controls is the order in which the controls gain focus when pressing the TAB key.
To set the tab order in the window editor, on the "Window" tab, in the "Order" group, expand "Tab order" and select "Edit".
The controls taken into account by the tab order are not necessarily Edit controls: Combo Box, Radio Button, List Box controls, etc. can be taken into account by the tab order.