The control's focus state

Usage

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

Values

[True | False]

Default: False

Remarks

The Focus property can be used to determine if the control has focus. You may also set this property to 1 to move focus to the control. Setting this property to 0 has no effect.

Make sure to specify "OLE.Focus" to distinguish between the OLE property and the OI property.

Example

// Move focus to this control 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.Focus", 1
  • No labels