TX Text Control ActiveX

Undo

Topic

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

MemberDescription
TXTextControl.AllowUndoDetermines whether the undo buffer is active or not.
TXTextControl.CanRedoInforms whether an operation can be re-done using the Redo method.
TXTextControl.CanUndoInforms whether an operation can be undone using the Undo method.

Methods

MemberDescription
TXTextControl.EndUndoActionDefines the end of an undo action.
TXTextControl.RedoThis method can be used to redo the last TXTextControl operation.
TXTextControl.StartUndoActionDefines the beginning of an undo action.
TXTextControl.UndoThis method can be used to undo the last TXTextControl operation.