Sign in Join
FPDoc Onlineexperiment

TCustomAbstractGroupedEdit.HideSelection property

Member of TCustomAbstractGroupedEditpublicIn unit GroupedEdit

Hides the current text selection when the control loses focus.

Declaration

pascal
property 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.