TRVStyle.MainRVStyle

<< Click to display table of contents >>

TRVStyle.MainRVStyle

Defines the master TRVStyle component for this component.

property MainRVStyle: TRVStyle;

(introduced in version 14; meaning is extended in version 20)

If this MainRVStyle is assigned, almost all properties of this TRVStyle object provide access to corresponding properties of MainRVStyle.

The following properties are not affected:

TextStyles

ParaStyles

ListStyles

all events

This property allows:

several editors can work with the same collection of style templates

to simplify assignment to other properties (a group of linked TRVStyle objects shares properties, so it is enough to assign a property of any of them)

If some TRichView component is used as a header/footer (and style templates are used) it must have Style.MainRVStyle assigned equal to Style of the main editor.

srv_icon ScaleRichView note: TSRichViewEdit provides that srve.RichViewEdit.Style = srve.RVHeader.Style.MainRVStyle = srve.RVFooter.Style.MainRVStyle.