FMX.Memo.Style.TStyledMemo.DoUndo
Delphi
procedure DoUndo(Sender: TObject);
C++
void __fastcall DoUndo(System::TObject* Sender);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Memo.Style.pas FMX.Memo.Style.hpp |
FMX.Memo.Style | TStyledMemo |
Description
Backs out the latest changes made to the text in the memo control.
DoUndo backs out, if possible, the latest changes made to the text in the memo control. If no change has been made, DoUndo does nothing.
Note: Remove
CanUndo
from Types.TDeleteOptions orCanUndo
from Types.TInsertOptions when modifying the text in the memo control, so that the changes cannot be backed out.