Vcl.StdCtrls.TCustomEdit.Undo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Undo;

C++

void __fastcall Undo();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Backs out all changes in the undo buffer.

Call Undo to cancel all changes made to the Text property since the last call to the ClearUndo method. If ClearUndo was never called, Undo rolls back all changes.

To determine whether there are any changes in the undo buffer, check the CanUndo property.

See Also