[Overview][Types][Classes][Index] | Reference for unit 'GroupedEdit' (#lcl)

# TCustomAbstractGroupedEdit.HideSelection

Hides the current text selection when the control loses focus.

## Declaration

Source position: groupededit.pp line 294

`public property TCustomAbstractGroupedEdit.HideSelection : Boolean read GetHideSelection write SetHideSelection default False;`

## Description

HideSelection is a Boolean property which indicates whether the current text selection is hidden when the control loses focus. The value for the property is read from and written to the HideSelection property in the BaseEditor control. The default value for the property is False, and causes the current text selection to be retained when the control loses focus.

HideSelection affects the style flags included in the creation parameters for the control.

Use AutoSelect to indicate whether the complete content in EditText is automatically selected when the controls receives focus. Use AutoSelected to determine whether the text selection was performed automatically, or manually using the SelStart / SelLength / SetSel methods.