Determines if the control accepts focus when clicked or tabbed into.


Usage

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

Values

[True | False]

Default: True

Remarks

The AcceptFocus controls the behavior of the control with regards to focus. When set to zero, the user can still interact with the control, but focus will remain wherever it was. If the user tabs through the controls on the form, then this control will be skipped and focus will continue on to the next control. By default this property is set to one so that it does gain focus when clicked or tabbed into.

Example

// Leave focus alone when the control is clicked
Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.AcceptFocus", 0)
  • No labels