fillcolor TrvActionFillColor

Properties

Top  Previous  Next

TrvActionFillColor is the action for "Fill Color" command.

Unit RichViewActions;

Syntax

TrvActionFillColor = class(TrvAction)

Hierarchy

TObject

TPersistent

TComponent

TBasicAction

TContainedAction

TCustomAction

TAction

TrvCustomAction

TrvAction

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.


RichView © Sergey Tkachenko