OverviewExamples
number Screen.GetFocus ( |
) |
Returns the control ID of the control the currently has focus.
Note: This action will not function correctly if called from the On Preload event.
None.
(number) The control ID of the control on the current screen which has focus. If nothing has focus, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.
When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions