Skip to main content

TdxRichEditControlBase.CanUndo Method

Returns a value indicating whether the Undo command is currently available to end-users.

Declaration

function CanUndo: Boolean;

Returns

Type
Boolean

Remarks

If this function returns True, an end-user can execute the Undo command; otherwise – False.

The Undo command is available only if all following conditions are met:

  • The action history functionality is enabled;

  • At least a single action is performed within the current document (note that each execution of the Undo command moves an action from the undo to redo action list).

See Also