TRVStyle.SelectionStyle

<< Click to display table of contents >>

TRVStyle.SelectionStyle

Defines visual appearance of selection in TRichView components.

property SelectionStyle: TRVSelectionStyle;

 

type

  TRVSelectionStyle = (rvssItems, rvssLines);

(introduced in v 1.8)

Selection Style

Meaning

rvssItems

Each item draws its selection separately.

rvssLines

The selection looks more like in MS Word (selection has height of the highest item in the line, including spacing); this mode works only if BiDiMode=rvbdUnspecified.

rvssItems:

item_sel

rvssLines:

LINE_SEL

If MainRVStyle is assigned, this property provides access to the corresponding property of MainRVStyle.

Default value:

rvssItems

See also properties:

SelColor, SelTextColor, InactiveSelColor, InactiveSelTextColor;

SelectionMode.