Skip to main content

TdxRichEditControlChangePageColor Class

An action object that corresponds to the ChangePageColor command provided by the Rich Edit control.

Declaration

TdxRichEditControlChangePageColor = class(
    TdxRichEditControlAlphaColorValueAction
)

Remarks

The TdxRichEditControlChangePageColor class does not introduce any new public members. This action object is designed to be used in a Ribbon or Toolbar UI by the following item controls:

VCL Rich Edit Control: A Ribbon Color Gallery Item

A color picked by a user via a TcxBarEditItem UI element is used as the active document’s background color.

VCL Rich Edit Control: A Change Page Color Example

UI elements linked to a TdxRichEditControlChangePageColor action object are enabled only if the Rich Edit control’s ReadOnly property is set to False.

See Also