vcl-dxrichedit-dot-actions-1ad686bd.md
An action object that corresponds to the InsertPageNumberField command provided by the Rich Edit control.
TdxRichEditControlInsertPageNumberField = class(
TdxRichEditControlAction
)
This class does not introduce any new public members. Executing a TdxRichEditControlInsertPageNumberField action object inserts a PAGE field displaying the current page number. This action inserts the created document field at the current caret position (if text is selected, the field replaces it within the document).
UI elements linked to a TdxRichEditControlInsertPageNumberField action object are Enabled only if the following conditions are met:
False.TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlInsertPageNumberField
See Also
TdxRichEditControlInsertPageCountField Class