Description: | Sets the focus on the control. It does not work when the Enabled or Visible property is False. | ||||
Used in controls: | CheckBox ComboBox CommandButton Custom DriveList | Edit FileList FolderList ListBox | ListView OptionButton ScrollBar Slider | Tab Table TextBox TreeView | |
Used in objects: | None. | ||||
Parameters: | None. | ||||
Return value: | None. | ||||
Example: | INVOKE CmText1 "SetFocus" | ||||
Backward compatibility | SETFOCUS | ||||
Backward compatibility | None. |