Undo
TXTextControl records the user's edits so that they can be undone and redone. The members below switch undo on, test whether an undo or redo is possible, perform it and group several operations into one undo action.
Properties
| Member | Description |
|---|---|
TXTextControl.AllowUndo | Determines whether the undo buffer is active or not. |
TXTextControl.CanRedo | Informs whether an operation can be re-done using the Redo method. |
TXTextControl.CanUndo | Informs whether an operation can be undone using the Undo method. |
Methods
| Member | Description |
|---|---|
TXTextControl.EndUndoAction | Defines the end of an undo action. |
TXTextControl.Redo | This method can be used to redo the last TXTextControl operation. |
TXTextControl.StartUndoAction | Defines the beginning of an undo action. |
TXTextControl.Undo | This method can be used to undo the last TXTextControl operation. |