fillcolor TrvActionFillColor

Properties   Methods

<< Click to display table of contents >>

fillcolor TrvActionFillColor

Properties   Methods

TrvActionFillColor is the action for "Fill Color" command.

Unit RichViewActions;

Syntax

TrvActionFillColor = class(TrvAction)

hmtoggle_arrow1Hierarchy

Description

This action can change a background color of:

text (RVStyle.TextStyles[].BackColor),

paragraph (RVStyle.ParaStyles[].Background.Color),

table cell (table.Cells[].Color)

table (table.Color).

For paragraphs, it can also change padding (RVStyle.ParaStyles[].Background.BorderOffsets).

The action displays a dialog where the user can define a color and an object for application.

This is a redundant action, because these properties can be changed by other actions. But it may be convenient to have an action allowing to change all these properties.