Vcl.StdCtrls.TCustomEdit.ClearUndo
Delphi
procedure ClearUndo;
C++
void __fastcall ClearUndo(void);
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.