Vcl.StdCtrls.TCustomEdit.ClearUndo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ClearUndo;

C++

void __fastcall ClearUndo();

Properties

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

Description

Clears the undo buffer so that no changes to the text can be backed out.

Use ClearUndo to commit changes to the Text property. After calling ClearUndo, the CanUndo property is false and the Undo method does nothing.

See Also