TrvActionFontStyle

Properties

Top  Previous  Next

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

Unit RichViewActions;

Syntax

TrvActionFontStyle = class(TrvActionTextStyles)

Hierarchy

TObject

TPersistent

TComponent

TBasicAction

TContainedAction

TCustomAction

TAction

TrvCustomAction

TrvAction

TrvActionTextStyles

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),

 

 

 


RichView © Sergey Tkachenko