rvico TRichView Reference | TRVStyle

TRVStyle.InactiveSelColor

Top  Previous  Next

Color of background of selected text in TRichView components (when they do not have focus)

property InactiveSelColor: TColor;

(introduced in version 1.6)

This color is used for:

drawing background for the selected text (see also InactiveSelTextColor);
shading the selected bullets and hotspots,
drawing frame around the selected pictures and controls,
drawing background for selected table cells.

Set it to clNone to hide selection when the input focus shifts to another control.

For focused controls, SelColor is used instead.

TRichView must be linked with this TRVStyle (see TRichView.Style).

Default value:

clHighlight

See also properties:

SelColor;
InactiveSelTextColor;
SelectionStyle.


RichView © Sergey Tkachenko