TdxRichEditControlRedo Class
An action object that corresponds to the Redo command provided by the Rich Edit control.
Declaration
TdxRichEditControlRedo = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlRedo action object restores the last previously undone action in the current document. To undo the last action performed in the Rich Edit control, use a TdxRichEditControlUndo action object.
UI elements linked to a TdxRichEditControlRedo 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.Undo property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
There is at least one undone action in the current document (note that the list of action available for redoing is cleared when a new action is performed).
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlRedo action object, use the sdxRichEditCommandRedoMenuCaption and sdxRichEditCommandRedoDescription resource strings, respectively.