Enables the focus rectangle.

Usage

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

Values

[True | False]

Default: True

Remarks

The ShowFocusItem property shows or hides the focus rectangle that appears around the current focus item. The focus rectangle is a dotted line surrounding the current focus item's contents, giving the user an indication of their current location. This is important with regards to Keyboard Navigation, since the user must be certain what the next keystroke will do.

If you want to hide the focus rectangle, simply set this property to 0.

 

In the above images, notice that the selected item does not have a dotted border when ShowFocusItem is set to 0.

Example

// Hide the focus rectangle 
Set_Property(@Window:".OLE_TREE", "OLE.ShowFocusItem", 0)

See Also

FocusItemFocus

  • No labels