TX Text Control ActiveX

Tracking Document Changes

Topic

With track changes active, TXTextControl records changes of the document with their kind, the user who made them and the time. The members below read and walk through the tracked changes, delete them and report when one is created, changed or deleted, or when a change cannot be tracked.

Properties

MemberDescription
TXTextControl.IsTrackChangesEnabledGets or sets a value indicating whether track changes is active or not.
TXTextControl.TrackedChangeEndReturns the index (one-based) of the last character of the specified tracked change.
TXTextControl.TrackedChangeKindReturns the kind of tracked change.
TXTextControl.TrackedChangeStartReturns the index (one-based) of the first character of the specified tracked change.
TXTextControl.TrackedChangeTimeReturns the date and time when the change has been made.
TXTextControl.TrackedChangeUserNameReturns the name of the user who has changed the document.

Methods

MemberDescription
TXTextControl.TrackedChangeDeleteThis method removes a tracked change from the document.
TXTextControl.TrackedChangeNextThis method returns the identifier of the tracked change that follows the specified tracked change in the TXTextControl's current text.

Events

MemberDescription
TXTextControl.CannotTrackChangeDetermines how to handle a change of the document that cannot be added to the list of tracked changes.
TXTextControl.TrackedChangeChangedOccurs when the text of a tracked change has been altered.
TXTextControl.TrackedChangeCreatedOccurs when a tracked change has been created.
TXTextControl.TrackedChangeDeletedOccurs when a tracked change has been deleted.