HideSelection Property

Applies To   See Also

Specifies whether selected text appears selected when a control loses focus. Available at design time and run time.

Syntax

Control.HideSelection[ = lExpr]

Settings

lExpr

The settings for the HideSelection property are:

Setting Description
True (.T.) (Default) Selected text does not appear selected when the control loses the focus.
False (.F.) Selected text appears selected when the control loses the focus.

Remarks

You can use this property to indicate the text that is selected while another form or a dialog box has the focus — for example, in a spelling-check routine.