TX Text Control ActiveX

Using a Table of Contents

Topic

A TXTextControl document can hold a table of contents with page numbers. The methods below delete and update it and open the built-in dialog box for inserting or changing it; the events report that one has been created or deleted, or that the input position enters or leaves it.

Methods

MemberDescription
TXTextControl.TableOfContentsDeleteThis method can be used to delete a table of contents.
TXTextControl.TableOfContentsDialogInvokes the built-in dialog box for inserting or changing a table of contents.
TXTextControl.TableOfContentsUpdateThis method can be used to update the content and the page numbers of a table of contents.

Events

MemberDescription
TXTextControl.TableOfContentsCreatedOccurs when a table of contents has been created.
TXTextControl.TableOfContentsDeletedOccurs when a table of contents has been deleted.
TXTextControl.TableOfContentsEnteredOccurs when the current text input position has been moved to a position that belongs to a table of contents.
TXTextControl.TableOfContentsLeftOccurs when the current text input position has left a table of contents.