TdxRichEditControlGoToPageHeader Class
An action object that corresponds to the GoToPageHeader command provided by the Rich Edit control.
Declaration
TdxRichEditControlGoToPageHeader = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlGoToPageHeader action object moves the caret from footer to header within the same page. In order to move the caret back to the page footer, you can use the TdxRichEditControlGoToPageFooter action.
UI elements linked to a TdxRichEditControlGoToPageHeader 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;
The Print Layout document view is active;
The footer editing mode is active.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlGoToPageHeader action object, use the sdxRichEditCommandGoToPageHeaderMenuCaption and sdxRichEditCommandGoToPageHeaderDescription resource strings, respectively.