The control's focus state.

Usage

Set_Property(OLECtrlEntID, "OLE.Focus", Boolean)

Values

[True | False]

Default: False

Remarks

The Focus property represents the focus state of the control. It is 1 when the control has focus. To set focus to the control, set this property to 1.

Example

// Set the focus 
Set_Property(@Window:".OLE_CONTROL", "OLE.Focus", 1)
  • No labels