rvico TRichView Reference | TRVStyle

TRVStyle.MainRVStyle

Top  Previous  Next

Defines the master RVStyle component for this component.

property MainRVStyle: TRVStyle;

(introduced in version 14)

If this MainRVStyle is assigned, StyleTemplates returns MainRVStyle.StyleTemplates. It allows several editors working with the same collection of style templates.

If some RichView 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.


TRichView © trichview.com