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. If you want to move focus to this control, be sure to set this property instead of the built in OI property. Set Focus 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_TREE", "OLE.Focus", 1)  
  • No labels