The control's focus state
Set_Property(OLECtrlEntID, "OLE.Focus", Boolean) |
[True | False]
Default: False
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.
// Move focus to this control Set_Property(@Window:".OLE_TREE", "OLE.Focus", 1) |