Skip to main content
Table of Contents

TTMSFNCUndoManager.CanUndo Method

Returns True when at least one state earlier than the current position is available to undo.

API unit family: TMSFNCUndo Declaring type: TTMSFNCUndoManager

Syntax

FMX.TMSFNCUndo.hppPascalC++
function CanUndo: Boolean;
bool __fastcall CanUndo();

Returns

True if undo is available; False otherwise.