SCRGetFocus()
Returns the current field focus.
Syntax
SCRGetFocus() --> cField
Arguments
None.
Returns
The field that currently has input focus or an empty string ("") if no screen field has focus.
Description
This function returns the field focus. This the control which the Window caret (cursor) is now positioned on. This function returns an empty string if no field on the screen has focus. This may be because a button or other control has focus.
![]() |