# What's New in TX Text Control ActiveX 19.0

> TX Text Control ActiveX 19.0: even and odd headers and footers, page numbering per section, context menus, TableInsertDialog and PrintDialog.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > What's New > Older Versions > What's New in TX Text Control ActiveX 19.0
- **1913 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1900/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1900/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1900/llms-full.txt

---

What did TX Text Control ActiveX 19.0 add over version 18.0? Page numbering per section, built-in context menus, different headers and footers for even and odd pages, new table and print dialog boxes and permanent control characters, each described below with the members that implement it.

### New Features

- **Page numbering.** Page numbers can continue from the previous section or restart with a certain start number in each section of a document, set with [SectionRestartPageNumbering](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionrestartpagenumbering-property/llms-full.txt). The new field type `txFieldAllPages`, defined with [FieldType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt), is a text field that shows the number of pages in the document or section. A new built-in dialog box, opened with [PageNumberDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms-full.txt), changes the formatting and numbering attributes of page number fields.
- **Built-in context menus.** `TXTextControl` now has built-in context menus. Depending on the area the user right-clicks, a menu with standard options for this area opens: one for standard text formatting, one for inserting or editing headers and footers and changing page settings, and one for images and text frames. Before a built-in context menu opens, the [ContextMenuOpening](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/contextmenuopening-event/llms-full.txt) event occurs. Setting its `Cancel` parameter to `True` keeps the menu from opening.
- **Headers and footers.** A document, or a single section of it, can have different headers and footers for even and odd pages:
    - A section contains either the same header or footer on all pages or different ones for even and odd pages.
    - All [Header and Footer](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/headers-footers/llms-full.txt) properties and methods accept the new constants `txEvenHeader` and `txEvenFooter` for their `HeaderFooter` parameter. When an even header or footer is defined, `txHeader` and `txFooter` specify the odd header or footer; otherwise they specify the header or footer of all pages.
    - The built-in [SectionFormatDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionformatdialog-method/llms-full.txt) dialog box lets an end user select different headers and footers for even and odd pages.
    - An activated header or footer is now separated from the main text by a dividing line instead of a frame. The line has a label that tells which type of header or footer (even, odd, first page) is activated. [HeaderFooterStyle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterstyle-property/llms-full.txt) still offers the former activation styles, and [DisplayColor](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/displaycolor-property/llms-full.txt) sets the colors of dividing lines and labels.
- **Tables.** A new built-in dialog box, opened with [TableInsertDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertdialog-method/llms-full.txt), inserts a table. The user specifies the number of columns and rows and the column width, and whether the table has a header and whether its rows can break across a page border. The new [TableCellSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecellselect-method/llms-full.txt) method selects a cell, a row, a column or the complete table, and the new [TableDelete](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabledelete-method/llms-full.txt) method deletes a complete table from the document.
- **Printing.** The new [PrintDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/llms-full.txt) method opens a built-in dialog box and then prints the document. In the dialog box, the user selects a printer, a range of pages and a number of copies.
- **Control characters.** A new control character shows the anchor position of an anchored object. Anchored objects are positioned relative to a paragraph, and the anchor is shown to the left of this paragraph's first character, only while an anchored object is selected. In addition, individual control characters can be shown permanently on the screen, independently of the [ControlChars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/controlchars-property/llms-full.txt) property, with the new [PermanentControlChars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/permanentcontrolchars-property/llms-full.txt) property.

### New Properties, Methods and Events

All new members belong to `TXTextControl`.

#### Properties

| Member | Description |
|---|---|
| [PermanentControlChars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/permanentcontrolchars-property/llms-full.txt) | Gets or sets which control characters are shown permanently on the screen. |
| [SectionRestartPageNumbering](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionrestartpagenumbering-property/llms-full.txt) | Returns or sets whether page numbering restarts at the beginning of a document section. |

#### Methods

| Member | Description |
|---|---|
| [PageNumberDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms-full.txt) | Opens a built-in dialog box to set the formatting attributes of the specified page number field. |
| [PrintDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/llms-full.txt) | Opens the system print dialog box and prints a `TXTextControl` document as specified in it. |
| [TableCellSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecellselect-method/llms-full.txt) | Selects a table cell, a table row, a table column or a complete table. |
| [TableDelete](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabledelete-method/llms-full.txt) | Deletes a complete table from the document. |
| [TableFromSelection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablefromselection-method/llms-full.txt) | Returns the table identifier of the currently selected table. |
| [TableInsertDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertdialog-method/llms-full.txt) | Opens a built-in dialog box with options to define a new table. |

#### Events

| Member | Description |
|---|---|
| [ContextMenuOpening](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/contextmenuopening-event/llms-full.txt) | Occurs before a built-in context menu opens. |

### Extended Properties, Methods and Events

All extended members belong to `TXTextControl`.

| Member | Change |
|---|---|
| [HeaderFooter](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooter-property/llms-full.txt) property | The new constants `txEvenHeader` and `txEvenFooter` support different headers and footers on the even and the odd pages of a document. |
| [HeaderFooterAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteratinputpos-property/llms-full.txt) property | The new constants `txEvenHeader` and `txEvenFooter` have been added. |
| [HeaderFooterPosition](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterposition-property/llms-full.txt) property | The new constants `txEvenHeader` and `txEvenFooter` have been added. |
| [HeaderFooterActivate](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivate-method/llms-full.txt) method | The new constants `txEvenHeader` and `txEvenFooter` have been added. |
| [HeaderFooterSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms-full.txt) method | The new constants `txEvenHeader` and `txEvenFooter` have been added. |
| [HeaderFooterActivated](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivated-event/llms-full.txt) event | The new constants `txEvenHeader` and `txEvenFooter` have been added. |
| [HeaderFooterStyle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterstyle-property/llms-full.txt) property | The new setting `txDividingLine` has been added. |
| [DisplayColor](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/displaycolor-property/llms-full.txt) property | The new index values `txHeaderFooterLineColor` and `txHeaderFooterLabelColor` have been added. |
| [FieldNext](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms-full.txt) method | Supports fields of the type `txFieldAllPages`. |
| [FieldType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt) property | Defines fields of the type `txFieldAllPages`. |
| [FieldTypeData](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt) property | Defines the data of fields of the type `txFieldAllPages`. |

### Related Pages

- [What's New](https://docs.textcontrol.com/tx-text-control-activex/whats-new/llms-full.txt): the changes of every TX Text Control ActiveX version.
- [Version 20.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2000/llms-full.txt): the features and members of the next version.
- [Version 18.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1800/llms-full.txt): the features and members of the previous version.
- [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt): create and format headers and footers.
- [Printing](https://docs.textcontrol.com/tx-text-control-activex/document-editor/printing/llms-full.txt): print documents from your application.
- [Tables](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/llms-full.txt): insert and format tables.

---

## Nearby

- **Previous:** [What's New in TX Text Control ActiveX 20.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2000/llms-full.txt)
- **Next:** [What's New in TX Text Control ActiveX 18.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1800/llms-full.txt)
