Skip to main content
Table of Contents

TTMSFNCUndoManager.PushState Method

Captures the current object state as a new undo entry; any states ahead of the current position are discarded.

API unit family: TMSFNCUndo Declaring type: TTMSFNCUndoManager

Syntax

FMX.TMSFNCUndo.hppPascalC++
procedure PushState(const AActionName: string);
void __fastcall PushState(const System::UnicodeString AActionName);

Parameters

Name Description
AActionName Label for the action, displayed in undo/redo UI.