# API Reference

> Reference of the ActiveX controls TXTextControl, TXButtonBar, TXRulerBar and TXStatusBar and the Style and XMLElement objects, with categories and data types.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > API Reference
- **1321 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/llms-full.txt

---

The API Reference documents every property, method and event of the controls and objects of TX Text Control ActiveX, sorted in alphabetical order on the page of each control or object. Next to it, the programming overview sorts the members of `TXTextControl` by programming category, lists the data types the reference uses, gives the mouse and keyboard interface of the control and lists the functions that table cell formulas support.

Start with the control or object you work with, or with a category when you know the task but not the member.

### Controls and Objects

| Control or object | Description |
|---|---|
| [TXTextControl Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt) | The `TXTextControl` control is the main control that is used to display and edit a text document. Its large number of properties, methods and events are listed in alphabetical order on its page and sorted by category in the [Programming Categories](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/llms-full.txt) chapter. |
| [TXButtonBar Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/llms-full.txt) | A `TXButtonBar` control represents a button bar for a `TXTextControl`. It offers several combo boxes and buttons and can be designed by the programmer. |
| [TXRulerBar Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/llms-full.txt) | A `TXRulerBar` control represents a ruler bar for a `TXTextControl`. It can be used to set paragraph attributes like indents and tabulators and the horizontal alignment of table cells. |
| [TXStatusBar Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/llms-full.txt) | A `TXStatusBar` control represents a status bar for a `TXTextControl`. It shows the page, line and column number of the current text input position, the zoom factor and some key states. It can also display an info text. |
| [Style Object](https://docs.textcontrol.com/tx-text-control-activex/reference/style/llms-full.txt) | A `Style` object is an OLE Automation object that represents a formatting style. To get a style or to iterate through all existing styles, use the [Styles](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms-full.txt) collection object. To create a new `Style` object with the **CreateObject** function, use its class name `TIS.TX.Style.34`. |
| [Styles Collection Object](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms-full.txt) | A `Styles` collection object is an OLE Automation object whose members represent all formatting styles a `TXTextControl` document contains. The members of a `Styles` collection object are OLE Automation objects of the [Style](https://docs.textcontrol.com/tx-text-control-activex/reference/style/llms-full.txt) class. A `Styles` collection object can be obtained with the [TXTextControl.Styles](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/styles-property/llms-full.txt) property. |
| [XMLElement Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt) | An `XMLElement` object is an OLE Automation object that represents an element in an XML document. To iterate through all existing XML elements, use the [XMLElements](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt) collection object. To create a new `XMLElement` object with the **CreateObject** function, use its class name `TIS.TX.XMLElement.34`. |
| [XMLElements Collection Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt) | An `XMLElements` collection object is an OLE Automation object whose members represent all XML elements with a certain tag name. The members of an `XMLElements` collection object are OLE Automation objects of the class [XMLElement](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt). An `XMLElements` collection object can be obtained with the [TXTextControl.XMLElements](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmlelements-property/llms-full.txt) property. |
| [Obsolete Properties, Methods and Events](https://docs.textcontrol.com/tx-text-control-activex/reference/obsolete-members/llms-full.txt) | Members of `TXTextControl` that are obsolete, such as the RTF and text import and export methods and the hyperlink and VT Speller members of earlier versions. |

### Programming Overview

Four pages look at the reference from the side of the task rather than the control:

| If you want to | Read |
|---|---|
| Find every member for one task, such as tables, fields or printing | [Programming Categories](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/llms-full.txt) |
| Look up the size and range of a data type such as `Long` or `Variant` | [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/data-types/llms-full.txt) |
| Know what a mouse action or key does in the control | [Mouse and Keyboard Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/llms-full.txt) |
| Look up a function for a table cell formula | [Supported Formula Functions](https://docs.textcontrol.com/tx-text-control-activex/reference/formula-functions/llms-full.txt) |

### Pages in This Section

- [TXTextControl](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt): the main control that displays and edits a document.
- [TXButtonBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/llms-full.txt): the button bar control.
- [TXRulerBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/llms-full.txt): the ruler bar control.
- [TXStatusBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/llms-full.txt): the status bar control.
- [Style](https://docs.textcontrol.com/tx-text-control-activex/reference/style/llms-full.txt): the object for one formatting style.
- [Styles](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms-full.txt): the collection of all formatting styles of a document.
- [XMLElement](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt): the object for one element of an XML document.
- [XMLElements](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt): the collection of the XML elements with one tag name.
- [Obsolete Properties, Methods and Events](https://docs.textcontrol.com/tx-text-control-activex/reference/obsolete-members/llms-full.txt): members that are obsolete and kept for earlier versions.
- [Programming Categories](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/llms-full.txt): the members of `TXTextControl` sorted by task.
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/data-types/llms-full.txt): the data types of the reference with their sizes and ranges.
- [Mouse and Keyboard Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/llms-full.txt): what each mouse action and key does in the control.
- [Supported Formula Functions](https://docs.textcontrol.com/tx-text-control-activex/reference/formula-functions/llms-full.txt): the functions table cell formulas can use.

---

## In This Section

- [Mouse and Keyboard Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/llms-full.txt): Mouse actions and keys of TXTextControl and what they do: selecting, editing, scrolling, zooming, moving in tables and inserting hyphens and dashes.
- [Programming Categories](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/llms-full.txt): Find the TXTextControl properties, methods and events for one task: formatting, tables, fields, images, printing, loading and saving, XML and more.
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/data-types/llms-full.txt): Size and range of the Byte, Boolean, Date, Integer, Long, Handle, String and Variant data types that the TX Text Control ActiveX reference uses.
- [Supported Formula Functions](https://docs.textcontrol.com/tx-text-control-activex/reference/formula-functions/llms-full.txt): Functions for TableCellFormula formulas in TXTextControl tables: mathematical, statistical, logical, lookup and information functions after ISO/IEC 29500-1.
- [Obsolete Properties, Methods and Events](https://docs.textcontrol.com/tx-text-control-activex/reference/obsolete-members/llms-full.txt): Obsolete TX Text Control ActiveX members: EnableHyperlinks, RTFExport, RTFImport, TextExport, TextImport, the View hyperlink members and VT Speller support.
- [Style Object](https://docs.textcontrol.com/tx-text-control-activex/reference/style/llms-full.txt): Style OLE Automation object for a paragraph or character formatting style, created with CreateObject: font, paragraph, frame, tab and list properties and Apply.
- [Styles Collection Object](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms-full.txt): Styles collection object with all formatting styles of a TX Text Control ActiveX document, obtained with TXTextControl.Styles: Count property and Item method.
- [TXButtonBar Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/llms-full.txt): Button bar control for a TX Text Control ActiveX editor with combo boxes and buttons: Appearance, DisplayColor, the Posxxx button positions and mouse events.
- [TXRulerBar Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/llms-full.txt): Ruler bar control for a TX Text Control ActiveX editor that sets indents, tabs and the alignment of table cells: Direction, ScaleUnits, FormulaMode and events.
- [TXStatusBar Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/llms-full.txt): Status bar control for a TX Text Control ActiveX editor showing page, line, column, zoom, key states and an info text: Show, Text, Font and color members.
- [TXTextControl Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt): Main ActiveX control that displays and edits text documents: every TXTextControl property, method and event in alphabetical order with a short description.
- [XMLElement Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt): XMLElement OLE Automation object for an element of an XML document, created with CreateObject: ElementName, Text, AddChild, ChildItem, RemoveChild and Select.
- [XMLElements Collection Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt): XMLElements collection object with all XML elements of a tag name, from TXTextControl.XMLElements: Add, Item, Remove, InputItem, Count and InputItemIndex.

---

## Nearby

- **Previous:** [What's New in TX Text Control ActiveX 11.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1100/llms-full.txt)
- **Next:** [TXTextControl Control](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt)
