ImageEn, unit iexRichEdit

TIERichEdit.HideSelection

TIERichEdit.HideSelection

Declaration

property HideSelection: Boolean;

Description

By default, even if the control loses focus, selected text is shown with an inverted color.
If set to true, the selection is hidden when the control loses focus.

Rich Edit Identifier: ES_NOHIDESEL

Default: True

Example

// Do not hide selection on defocus
IERichEdit1.HideSelection := False;