Vcl.ComCtrls.TCustomRichEdit.HideSelection
Delphi
property HideSelection: Boolean read FHideSelection write SetHideSelection default True;
C++
__property bool HideSelection = {read=FHideSelection, write=SetHideSelection, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomRichEdit |
Description
Determines whether the visual indication of the selected text remains when focus shifts to another control.
Set HideSelection to false when it is important to provide visual feedback of the selected portion of the text even when the edit control does not have focus. Set HideSelection to true to make the visual indication of selection appear only when the edit control has focus. HideSelection does not affect the actual value of the selection, only the visual indication. Always setting HideSelection to false can make forms containing many edit controls look busy.
See Also
Code Examples