TrvActionFontStyle

Properties   Methods

<< Click to display table of contents >>

TrvActionFontStyle

Properties   Methods

TrvActionFontStyle is a base class for the actions changing Style property of text styles for the selected text (RVStyle.TextStyles[].Style)

Unit RichViewActions;

Syntax

TrvActionFontStyle = class(TrvActionTextStyles)

hmtoggle_arrow1Hierarchy

Description

This action does not introduce any new properties in addition to properties of TrvAction.

This action is not used directly. The following actions are inherited from it:

TrvActionFontBold

TrvActionFontItalic

TrvActionFontUnderline

TrvActionFontStrikeout

These actions change one option in the Style property of styles of text in the selected fragment of TCustomRichViewEdit (for example, fsBold)

These actions are checked (Checked=True) in the following cases:

if several table cells are selected, all text items in these cells have the required option included in Style (for example, all text is bold);

otherwise, if the current text style (TCustomRichViewEdit.CurTextStyleNo) has this option included in Style (for example, it is bold),