HasFocus Method (Control)

Class

Control.

Action

Tests whether the control has input focus.

Syntax

bHasFocus = control.HasFocus()
Variable Description
bHasFocus The focus state of the control. BOOLEAN.

Notes

HasFocus returns TRUE if the control has focus, or FALSE if it does not.

Example

[ ] TextEditor.Search.GotoLine.Pick()
[-] if(!GotoLine.Line.HasFocus())
	[ ] GotoLine.Line.SetFocus()