rvico TRichView Reference | TRVStyle

TRVStyle.TextBackgroundKind

Top  Previous  Next

Defines visual appearance of text background in TRichView components.

type

  TRVTextBackgroundKind = (rvtbkSimple, rvtbkItems, rvtbkLines);

property TextBackgroundKind: TRVTextBackgroundKind;

(introduced in v14)

Selection Style

Background is drawn...

Background height =

rvtbkItems

before text

item height

rvtbkSimple

together with text

item height

rvtbkLines

before text

line height

Example:

TextBackgroundKind

rvtbkSimple is not recommended, because the item text may be overlapped by a background of the next item, especially for italic fonts (see the red line in the example above).

Default value:

rvtbkItems

See also:

OnDrawTextBack

See also properties of text style:

BackColor

HoverBackColor;


TRichView © trichview.com