para TrvActionParagraph

Properties   Methods   Events

<< Click to display table of contents >>

para TrvActionParagraph

Properties   Methods   Events

TrvActionParagraph is the action for "Paragraph" command.

Unit RichViewActions;

Syntax

TrvActionParagraph = class(TrvActionParaStyles)

hmtoggle_arrow1Hierarchy

Description

If UserInterface=False, the action applies its properties to the selected paragraphs. The list of properties to apply is specified in ValidProperties.

If UserInterface=True, , the action uses a dialog window. The action performs the following steps:

1.assigns font attributes from the selected paragraphs to the action's properties

2.calls OnShowingDialog event

3.displays a dialog window

4.applies changes made in the dialog window to the action's properties

5.applies the action's properties to the selected paragraphs.

This action allows changing almost all paragraph attributes, except for border and background (see TrvActionParaBorder).