HideSelection

Applies to

SingleLineEdit, MultiLineEdit, EditMask, ListView, TreeView controls

Description

If the HideSelection property is enabled, selected text does not stay selected (highlighted) when the control does not have focus. If this property is not enabled, selected text stays highlighted when the control loses focus.

Usage

In a painter

To enable HideSelection:

  • Select the Hide Selection check box on the General page of the control's Properties view.

In scripts

The HideSelection property takes a boolean value. The following example specifies that selected text in a SingleLineEdit is always highlighted.

sle_1.HideSelection = FALSE