TdxRichEditControlToggleDifferentFirstPage Class
An action object that corresponds to the ToggleDifferentFirstPage command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleDifferentFirstPage = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleDifferentFirstPage action object allows an end-user to enable or disable the unique header and footer displayed only on the first document page.
UI elements linked to a TdxRichEditControlToggleDifferentFirstPage action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.HeadersFooters property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
Either the header or footer editing mode is currently active.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleDifferentFirstPage action object, use the sdxRichEditCommandToggleDifferentFirstPageMenuCaption and sdxRichEditCommandToggleDifferentFirstPageDescription resource strings, respectively.