# What's New in TX Text Control ActiveX 20.0

> TX Text Control ActiveX 20.0: right-to-left text with TextDirection and Kashida justification, RightToLeft controls, Locale for multilingual documents.

- **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 20.0
- **1705 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2000/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2000/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2000/llms-full.txt

---

Right-to-left text for languages such as Arabic and Hebrew, right-to-left application design and multilingual documents are what TX Text Control ActiveX 20.0 brought over version 19.0, together with new buttons on the button bar. The lists below name each feature and the members behind it.

### New Features

- **Right-to-left support.** TX Text Control renders right-to-left text for languages such as Arabic or Hebrew:
    - Each line of a document can be bidirectional: it can contain parts written from left to right and parts written from right to left. The text input position behind a left-to-right character is on its right side, and behind a right-to-left character on its left side.
    - A paragraph can be formatted from right to left, which orders its blocks of bidirectional text from right to left. The new [TextDirection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textdirection-property/llms-full.txt) property supports this, and the paragraph formatting dialog box lets an end user format a paragraph from right to left.
    - In a right-to-left paragraph, a tab is a distance from the document's right page margin, and the natural paragraph alignment and tab kind is right-aligned. The horizontal ruler bar shows the horizontal origin of such a paragraph at the right page margin.
    - When a paragraph is justified, `TXTextControl` can now insert Arabic Kashida lines in addition to expanding spaces. [Justification](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/justification-property/llms-full.txt) sets the kind of justification of each paragraph, and both kinds can be combined.
    - The new [ChangeTextDirection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/changetextdirection-method/llms-full.txt) method changes the writing direction of one or more paragraphs. It toggles the alignment of a paragraph from left to right or from right to left, and toggles left and right tabs. The alignment of centered and justified paragraphs does not change.
- **Right-to-left application design.** All TX Text Control controls have a `RightToLeft` property for a right-to-left application design:
    - A [TXTextControl](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt) then shows its vertical scroll bar at the left border and has its zoom origin at the top right corner ([TXTextControl.RightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/righttoleft-property/llms-full.txt)).
    - All built-in dialog boxes and context menus have a right-to-left design.
    - The [TXRulerBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/righttoleft-property/llms-full.txt) control has a right-to-left ruler, and the [TXButtonBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/righttoleft-property/llms-full.txt) and [TXStatusBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/righttoleft-property/llms-full.txt) controls show their buttons or text parts from right to left.
- **Multilingual documents.** A piece of text can now be formatted for a specific language, which spell checking and hyphenation use, and one document can contain several languages. The new built-in dialog box of [LocaleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/localedialog-method/llms-full.txt) gets or sets the language of a text selection or of the current text input position; in code, you use the [Locale](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/locale-property/llms-full.txt) property. All text filters support the language settings of other text formats. The new [ShowLocale](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showlocale-property/llms-full.txt) property makes the [TXStatusBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/llms-full.txt) control show the language at the text input position.
- **Button bar.** The [TXButtonBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/llms-full.txt) control has more predefined buttons. [PosStrikethru](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posstrikethru-property/llms-full.txt), [PosSubscript](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/possubscript-property/llms-full.txt) and [PosSuperscript](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/possuperscript-property/llms-full.txt) add buttons for these font attributes. [PosLeftToRight](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poslefttoright-property/llms-full.txt) and [PosRightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posrighttoleft-property/llms-full.txt) add buttons that set the writing direction to left to right or right to left.

### New Properties, Methods and Events

#### Properties

| Member | Description |
|---|---|
| [TXButtonBar.PosLeftToRight](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poslefttoright-property/llms-full.txt) | Returns or sets the position of a button that sets the left-to-right writing direction. |
| [TXButtonBar.PosRightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posrighttoleft-property/llms-full.txt) | Returns or sets the position of a button that sets the right-to-left writing direction. |
| [TXButtonBar.PosStrikethru](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/posstrikethru-property/llms-full.txt) | Returns or sets the position of a button that sets the strikethrough attribute. |
| [TXButtonBar.PosSubscript](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/possubscript-property/llms-full.txt) | Returns or sets the position of a button that sets text to subscript. |
| [TXButtonBar.PosSuperscript](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/possuperscript-property/llms-full.txt) | Returns or sets the position of a button that sets text to superscript. |
| [TXButtonBar.RightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/righttoleft-property/llms-full.txt) | Returns or sets whether the button bar's buttons are shown from right to left or from left to right. |
| [TXRulerBar.RightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/righttoleft-property/llms-full.txt) | Returns or sets whether the ruler bar has its origin at the right or at the left border. |
| [TXStatusBar.RightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/righttoleft-property/llms-full.txt) | Returns or sets whether the status bar's display areas are shown from right to left or from left to right. |
| [TXStatusBar.ShowLocale](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showlocale-property/llms-full.txt) | Specifies whether the status bar shows the language of the text selection or of the text input position. |
| [TXTextControl.Justification](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/justification-property/llms-full.txt) | Gets or sets the kind of justification in documents that contain Arabic or Hebrew characters. |
| [TXTextControl.Locale](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/locale-property/llms-full.txt) | Specifies a language for the selected text. |
| [TXTextControl.RightToLeft](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/righttoleft-property/llms-full.txt) | Returns or sets whether the control's vertical scroll bar is at the left or the right border and whether it has a right or a left zoom origin. |
| [TXTextControl.TextDirection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textdirection-property/llms-full.txt) | Specifies the writing direction. |

#### Methods

| Member | Description |
|---|---|
| [TXTextControl.ChangeTextDirection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/changetextdirection-method/llms-full.txt) | Changes the text direction of all selected paragraphs. |
| [TXTextControl.LocaleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/localedialog-method/llms-full.txt) | Opens the built-in language dialog box and, after the user has closed it, returns whether the user has changed something. |

### Extended Properties, Methods and Events

| Member | Change |
|---|---|
| [ParagraphDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms-full.txt) method | The dialog box supports the [TextDirection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textdirection-property/llms-full.txt) property. |

### 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 21.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2100/llms-full.txt): the features and members of the next version.
- [Version 19.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1900/llms-full.txt): the features and members of the previous version.
- [Paragraph Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/paragraph-formatting/llms-full.txt): the members that format paragraphs.
- [Tool Bars](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/toolbars/llms-full.txt): the toolbar controls and the properties that connect them to `TXTextControl`.

---

## Nearby

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