<< Click to display table of contents >> TrvActionParagraph |
TrvActionParagraph is the action for "Paragraph" command.
Unit RichViewActions;
Syntax
TrvActionParagraph = class(TrvActionParaStyles)
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction |
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).