Determines if the control receives focus when clicked.

Usage

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

Values

[True | False]

Default: False

Remarks

The FocusOnClick property determines whether or not the tab controls gets focus when it is clicked. By default, this property is off, so clicking the tab control does not move focus from the current control. This is usually the preferred setting since tab controls shouldn't redirect users unless there is a page change.

However, there may be rare circumstances in which you want the tab control to take focus. If such a need arises, set this property to 1.

Example

// Have the tab control take focus when clicked 
Set_Property(@Window:".OLE_TAB", "OLE.FocusOnClick", 1)
  • No labels