# Built-In Dialog Boxes

> Open the dialog boxes built into TXTextControl from VB6: Font, Paragraph, Tabs, lists, styles, page setup, tables, images, form fields and find and replace.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > Document Editor > Built-In Dialog Boxes
- **6267 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/dialog-boxes/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/dialog-boxes/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/dialog-boxes/llms-full.txt

---

Fonts, paragraphs, tabs, lists, styles, page setup, tables, images, form fields, tables of contents, search and replace: for each of these, `TXTextControl` brings its own dialog box, and one method call opens it. You don't design a form, read the user's input or apply it to the text. The dialog box shows the attributes of the selection and applies what the user changes.

Read on for an overview of every dialog method, the parameters that choose a tab, the values they return and the menu item of the *TXWords* sample that opens each dialog box. The screenshots show version 34.0.

### Overview of the Dialog Methods

| Method | What the user edits | Parameter | TXWords menu item |
|---|---|---|---|
| [FontDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontdialog-method/llms-full.txt) | Font, size, colors and character attributes of the selection | Optional tab, 0 or 1 | **Format** > **Character...** |
| [ParagraphDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms-full.txt) | Alignment, spacing, indents, frame and pagination of the selected paragraphs | Optional tab, 0 or 1 | **Format** > **Paragraph...** |
| [TabDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabdialog-method/llms-full.txt) | Tab stops | -- | **Format** > **Tabs...** |
| [LocaleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/localedialog-method/llms-full.txt) | Language of the selected text | -- | **Format** > **Language...** |
| [InsertSymbolDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/insertsymboldialog-method/llms-full.txt) | Inserts symbol characters (modeless) | -- | **Insert** > **Symbol...** |
| [ListAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/listattrdialog-method/llms-full.txt) | Bulleted and numbered lists | -- | **Format** > **Bullets and Numbering** > **Properties...** |
| [StyleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/styledialog-method/llms-full.txt) | Creates, deletes and modifies formatting styles | -- | **Format** > **Styles...** |
| [SectionFormatDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionformatdialog-method/llms-full.txt) | Page size and margins, headers and footers, columns and page borders | Tab, 0 to 3 | **File** > **Page Setup...**, **Format** > **Headers and Footers...**, **Columns...**, **Page Borders...** |
| [PageNumberDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms-full.txt) | Format of a page number field | Field identifier | -- |
| [TableInsertDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertdialog-method/llms-full.txt) | Defines and inserts a new table | Optional table identifier | **Table** > **Insert** > **Table...** |
| [TableAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableattrdialog-method/llms-full.txt) | Frames, colors, size, alignment, formulas and number formats of table cells | Optional tab, 0 to 2 | **Table** > **Properties...**, **Table** > **Formulas** > **Edit Formula...** |
| [ObjectAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectattrdialog-method/llms-full.txt) | Images, text frames and OLE objects | Optional tab, 0 to 2 | **Format** > **Image...**, **Text Frame...**, **OLE Object...** |
| [TableOfContentsDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableofcontentsdialog-method/llms-full.txt) | Inserts or changes a table of contents | -- | **Insert** > **Table of Contents...**, **Edit** > **Table of Contents** > **Edit...** |
| [FormFieldDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddialog-method/llms-full.txt) | Attributes of a form field | Field identifier | **Format** > **Form Field** > **Properties...** |
| [FindReplace](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/findreplace-method/llms-full.txt) | Finds or replaces text | 1 (Find) or 2 (Replace) | **Edit** > **Find...**, **Edit** > **Replace...** |
| [LoadDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loaddialog-method/llms-full.txt) | Opens a document (system dialog box) | File format filters | **File** > **Open...** |
| [SaveDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/savedialog-method/llms-full.txt) | Saves a document (system dialog box) | File format filters and options | **File** > **Save As...**, **File** > **Export...** |
| [PrintDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/llms-full.txt) | Prints the document (system dialog box) | Document name | **File** > **Print...** |

The [Built-in Dialog Boxes](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/dialog-boxes/llms-full.txt) category of the reference lists the same methods.

### How the Dialog Methods Work

Except for `InsertSymbolDialog`, whose dialog box stays open while the user works on, a dialog method reports its result after the user has closed the dialog box. The formatting dialog boxes work on what is selected: the character and paragraph dialog boxes on the selected text, `ObjectAttrDialog` on the selected image or object, `FormFieldDialog` and `PageNumberDialog` on the field whose identifier you pass.

Most methods tell you whether the user changed something. `FontDialog`, `ParagraphDialog`, `TabDialog`, `ListAttrDialog`, `StyleDialog`, `SectionFormatDialog`, `TableAttrDialog`, `ObjectAttrDialog` and `LocaleDialog` return `True` when the user has changed one or more attributes and `False` otherwise. Call the method as a function to read the value, for example to mark the document as changed:

```vbscript
Private Sub mnuFormat_Paragraph_Click()
    ' Open the paragraph dialog box and remember a change
    If TXTextControl1.ParagraphDialog Then
        DirtyFlag = True
    End If
End Sub
```

`DirtyFlag` is the variable with which TXWords remembers unsaved changes. When you don't need the return value, call the method as a statement, as TXWords does in all its menu handlers: `TXTextControl1.ParagraphDialog`.

The dialog boxes with tabs take an optional `ActiveTab` parameter, the zero-based index of the tab that is shown first. `SectionFormatDialog` requires it.

### Format Characters and Paragraphs

[FontDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontdialog-method/llms-full.txt) opens the **Font** dialog box. Tab 0 sets the font, the size, the text and background colors and the attributes; tab 1 sets the text position and text effects.

![The built-in Font dialog box of TX Text Control ActiveX version 34.0 on the Font and Color tab, with the font list, the size, the text and background colors, the attributes and the underlining.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/font-dialog-font-color.44aa8fd2.webp)

[ParagraphDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms-full.txt) opens the **Paragraph** dialog box. Tab 0 sets the alignment, the line spacing, the indents and the distances before and after the paragraph; tab 1 sets a frame and the pagination.

![The built-in Paragraph dialog box of TX Text Control ActiveX version 34.0 on the Formatting and Indents tab, with the alignment, structure level, line spacing, direction, indentation and distances.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/paragraph-dialog-indents.9b4275d7.webp)

[TabDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabdialog-method/llms-full.txt) opens the **Tabs** dialog box, in which the user adds and deletes tab stops and sets their alignment and leader.

![The built-in Tabs dialog box of TX Text Control ActiveX version 34.0 with the tab stop position list, the leader, the alignment and the Add, Delete and Delete All buttons.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/tabs-dialog.d2c2902d.webp)

TXWords opens the three dialog boxes from its **Format** menu:

```vbscript
Private Sub mnuFormat_Character_Click()
    TXTextControl1.FontDialog
End Sub

Private Sub mnuFormat_Paragraph_Click()
    TXTextControl1.ParagraphDialog
End Sub

Private Sub mnuFormat_Tabs_Click()
    TXTextControl1.TabDialog
End Sub
```

[Character and Paragraph Formatting](https://docs.textcontrol.com/tx-text-control-activex/document-editor/formatting/llms-full.txt) shows how to set the same attributes in code.

#### Language and Symbols

[LocaleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/localedialog-method/llms-full.txt) (since version 20.0) opens the **Language** dialog box, which sets the language of the selected text. It returns `False` when the user leaves it with **Cancel** or keeps the language. This is the language of the text, not the language in which the dialog boxes are displayed; for that, see [Choose the Language of the Dialog Boxes](#choose-the-language-of-the-dialog-boxes).

![The built-in Language dialog box of TX Text Control ActiveX version 34.0 with a list of English language variants and the Do not define Language and Detect language automatically options.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/language-dialog.fc75a13a.webp)

[InsertSymbolDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/insertsymboldialog-method/llms-full.txt) (since version 23.0) opens a modeless dialog box for inserting symbol characters. Modeless means that the dialog box stays open while the user goes on working in the text. The method has no return value. TXWords calls it from **Insert** > **Symbol...**.

![The modeless Symbol dialog box of TX Text Control ActiveX 34.0 with a font list, the character grid, the character code and the Insert and Close buttons.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/symbol-dialog.074d52c8.webp)

### Format Lists and Styles

[ListAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/listattrdialog-method/llms-full.txt) opens the **Bullets and Numbering** dialog box for the selected paragraphs: the list type, the positions, the bullet character, the number format and the level.

![The built-in Bullets and Numbering dialog box of TX Text Control ActiveX version 34.0 with the list types, the bullet and text positions, the bullet characters and the number format.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/bullets-numbering-list.38cfc74e.webp)

[StyleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/styledialog-method/llms-full.txt) opens the **Styles** dialog box, in which the user creates, deletes and modifies formatting styles. It returns `True` when one or more styles have changed. When styles have been created or deleted, the [StyleListChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/stylelistchanged-event/llms-full.txt) event occurs, so that you can update a list of styles in your own user interface.

![The built-in Styles dialog box of TX Text Control ActiveX version 34.0 with the style list of the demo document and the New, Modify and Delete buttons.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/styles-dialog.2515408c.webp)

**Modify...** opens a second dialog box for the style's name, its base style and its formatting:

![The built-in Modify Style dialog box of TX Text Control ActiveX version 34.0 with the name, the based-on style, the style of the following paragraph and the Font, Paragraph, Tabs, Numbering and Language buttons.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/modify-style-based-on.a284e549.webp)

[Bulleted and Numbered Lists](https://docs.textcontrol.com/tx-text-control-activex/document-editor/lists/llms-full.txt) and [Stylesheets](https://docs.textcontrol.com/tx-text-control-activex/document-editor/stylesheets/llms-full.txt) cover lists and styles in code.

### Set Up Pages and Sections

[SectionFormatDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionformatdialog-method/llms-full.txt) (since version 14.0) opens the **Page Setup** dialog box for the whole document or for a single section. Its `ActiveTab` parameter is required:

| ActiveTab | Tab | TXWords menu item | TXWords constant |
|---|---|---|---|
| 0 | Page margins, page size and orientation | **File** > **Page Setup...** | `SECTFMTDLG_PAGE` |
| 1 | Headers and footers | **Format** > **Headers and Footers...** | `SECTFMTDLG_HDRFTR` |
| 2 | Columns | **Format** > **Columns...** | `SECTFMTDLG_COLUMNS` |
| 3 | Page borders | **Format** > **Page Borders...** | `SECTFMTDLG_PAGEBRD` |

TXWords declares the four constants in *tx.bas* and uses them in its menu handlers and in the buttons of its toolbar:

```vbscript
Global Const SECTFMTDLG_PAGE = 0
Global Const SECTFMTDLG_HDRFTR = 1
Global Const SECTFMTDLG_COLUMNS = 2
Global Const SECTFMTDLG_PAGEBRD = 3

Private Sub mnuFile_PageSetup_Click()
    TXTextControl1.SectionFormatDialog SECTFMTDLG_PAGE
End Sub
```

![The built-in Page Setup dialog box of TX Text Control ActiveX version 34.0 on the Margins and Paper tab, with the margins, the paper format and size, the orientation, the section start and the Apply to list.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/page-setup-margins-paper.f616920e.webp)

[Sections and Page Setup](https://docs.textcontrol.com/tx-text-control-activex/document-editor/sections/llms-full.txt) shows the other tabs and the members that set the same values in code.

[PageNumberDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms-full.txt) (since version 19.0) formats a page number field. Its `FieldId` parameter is the identifier of a field of the type `txFieldPageNumber` or `txFieldAllPages`. It returns `True` when the user has changed something and closed the dialog box with **OK**. TXWords doesn't call it; [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt) describes page number fields.

### Insert and Format Tables

[TableInsertDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertdialog-method/llms-full.txt) (since version 19.0) opens the **Insert Table** dialog box and inserts the table when the user clicks **OK**. It returns the identifier of the new table, 0 when no table could be inserted (for example because text is selected) or -1 when the new table has been combined with a table directly above or below it. The optional `TableId` parameter sets the identifier yourself, from 10 to 32,767.

![The built-in Insert Table dialog box of TX Text Control ActiveX version 34.0 with the number of columns and rows, the column width, the header and page break options and a descriptive text.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/insert-table-dialog.13d1f799.webp)

[TableAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableattrdialog-method/llms-full.txt) opens the **Table Properties** dialog box for the selected cells. Tab 0 sets frame lines, colors and cell margins, tab 1 the vertical size and alignment and tab 2 formulas and number formats. TXWords opens the first tab from **Table** > **Properties...** and the formulas tab directly from **Table** > **Formulas** > **Edit Formula...**:

```vbscript
Private Sub mnuTable_Properties_Click()
    TXTextControl1.TableAttrDialog
End Sub

Private Sub mnuTable_Formulas_EditFormula_Click()
    TXTextControl1.TableAttrDialog 2
End Sub
```

![The built-in Table Properties dialog box of TX Text Control ActiveX version 34.0 on the Frame and Color tab, with the frame types, line width and color, background color and cell margins.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/table-properties-frame.06b6f594.webp)

[Tables](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/llms-full.txt), [Using Formulas in Table Cells](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/formulas/llms-full.txt) and [Number Formats](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/number-formats/llms-full.txt) go further.

### Format Images, Text Frames and OLE Objects

[ObjectAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectattrdialog-method/llms-full.txt) (since version 12.0) opens the attribute dialog box of the selected image, text frame or OLE object. Its options depend on the kind of object. Tab 0 sets the text wrapping and the layout, tab 1 the size and distances and tab 2 attributes specific to the object, such as the saving options of an image or the colors and frames of a text frame. TXWords calls it without a parameter from **Format** > **Image...**, **Text Frame...** and **OLE Object...**.

![The built-in Image Attributes dialog box of TX Text Control ActiveX version 34.0 on the Layout and Position tab, with the wrapping styles, the position style and the horizontal and vertical alignment.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/image-attributes-layout.ca620988.webp)

[Using Images](https://docs.textcontrol.com/tx-text-control-activex/document-editor/images/llms-full.txt) and [Using Text Frames](https://docs.textcontrol.com/tx-text-control-activex/document-editor/text-frames/llms-full.txt) describe the objects.

### Edit Tables of Contents and Form Fields

[TableOfContentsDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableofcontentsdialog-method/llms-full.txt) (since version 29.0) inserts a table of contents, or changes the one at the input position. It returns the identifier of the table of contents, or 0 when the user clicks **Cancel** or no entry has been found in the document. TXWords calls it from **Insert** > **Table of Contents...** and from **Edit** > **Table of Contents** > **Edit...**.

![The built-in Table of Contents dialog box of TX Text Control ActiveX version 34.0 with the minimum and maximum structure level, the page number options, the tab leader, the hyperlink option and the title.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/toc-dialog.ab48948d.webp)

[FormFieldDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddialog-method/llms-full.txt) (since version 31.0) sets the attributes of a check box, combo box, text or date form field. It needs the field's identifier, which TXWords takes from the field at the input position with [FieldAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldatinputpos-property/llms-full.txt):

```vbscript
Private Sub mnuFormat_FormFields_Properties_Click()
    Dim fieldId As Integer

    fieldId = TXTextControl1.FieldAtInputPos
    TXTextControl1.FormFieldDialog fieldId
End Sub
```

It returns `True` when the user has changed something and clicked **OK**, and `False` after **Cancel**.

![The built-in Form Field Properties dialog box of TX Text Control ActiveX version 34.0 for a text form field, with the name, ID, default width and descriptive text.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/form-field-properties.bd4a2602.webp)

[Tables of Contents](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables-of-contents/llms-full.txt) and [Form Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/form-fields/llms-full.txt) cover both subjects.

### Find and Replace Text

[FindReplace](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/findreplace-method/llms-full.txt) opens the **Find** dialog box with the parameter 1 and the **Replace** dialog box with 2. TXWords declares the values as `FINDREPL_FIND` and `FINDREPL_REPLACE` in *tx.bas*:

```vbscript
Private Sub mnuEdit_Find_Click()
    TXTextControl1.FindReplace FINDREPL_FIND
End Sub

Private Sub mnuEdit_Replace_Click()
    TXTextControl1.FindReplace FINDREPL_REPLACE
End Sub
```

![The built-in Replace dialog box of TX Text Control ActiveX version 34.0 with Find what, Replace with, the find options and the Find Next, Replace, Replace All and Cancel buttons.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/replace-find-options.962b48bb.webp)

[Selections, Clipboard and Undo](https://docs.textcontrol.com/tx-text-control-activex/document-editor/editing/#search-the-text) shows how to search in code.

### Open, Save and Print With System Dialog Boxes

Three methods open system dialog boxes of Windows and then do the work themselves:

- **[LoadDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loaddialog-method/llms-full.txt)** (since version 31.0) opens the **Open** dialog box and loads the document. The `Filters` parameter adds the file formats the dialog box offers, and the optional `CurSelection` parameter inserts the document at the selection instead of replacing the contents.
- **[SaveDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/savedialog-method/llms-full.txt)** (since version 31.0) opens the **Save As** dialog box and saves the document. Besides `Filters`, it takes `DialogOptions`: `txPassword` for a PDF password button, `txCSSOptions` for the HTML style options and `txSaveSelection` for a check box that saves only the selection.
- **[PrintDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/llms-full.txt)** (since version 19.0) opens the system print dialog box and prints the document. Its parameter is the name of the print job.

`LoadDialog` and `SaveDialog` need at least Windows Vista. TXWords uses them for **File** > **Open...** and **File** > **Save As...** in *File.bas*, and for **File** > **Export...**, which offers only the PDF formats:

```vbscript
' File > Open...: all formats and an "All Formats" item
TXTextControl1.LoadDialog (All Or &H8000)

' File > Save As...: all formats with all options
TXTextControl1.SaveDialog All, txPassword Or txCSSOptions Or txSaveSelection

' File > Export...: PDF and PDF/A with a password button
TXTextControl1.SaveDialog AdobePDF Or AdobePDFA, txPassword
```

[Working with Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/load-save/llms-full.txt) and [Printing](https://docs.textcontrol.com/tx-text-control-activex/document-editor/printing/llms-full.txt) describe loading, saving and printing.

### The Password Dialog Box of EditMode

One built-in dialog box opens through a property instead of a method. When you set [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) to 3 (Password Protected), `TXTextControl` opens a dialog box in which the user enters the password that protects the document. TXWords sets this value from **Edit** > **Protect Document**.

![The built-in Enforce Protection dialog box of TX Text Control ActiveX version 34.0 with the new password, its confirmation and a caution text.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/enforce-protection-dialog.45ca93ca.webp)

[Document Protection](https://docs.textcontrol.com/tx-text-control-activex/document-editor/protection/llms-full.txt) explains the edit modes and permissions.

### Dialog Boxes That TXWords Adds Itself

Not every dialog box in TXWords belongs to `TXTextControl`. The following are Visual Basic forms of the sample, which you find as source code in its folder and adapt or replace in your own application:

| TXWords menu item | Form of the sample | Page |
|---|---|---|
| **Insert** > **Break...** | *InsertBreak.frm* (**Insert Break**) | [Sections and Page Setup](https://docs.textcontrol.com/tx-text-control-activex/document-editor/sections/llms-full.txt) |
| **Insert** > **Hyperlink...**, **Edit** > **Hyperlink...** | *frmHyperlink.frm* (**Hyperlink**) | -- |
| **Edit** > **Reviewing** > **Review Changes...** | *frmReviewTrackedChanges.frm* (**Review Changes**) | [Track Changes](https://docs.textcontrol.com/tx-text-control-activex/document-editor/track-changes/llms-full.txt) |
| **Edit** > **Reviewing** > **Comments...** | *frmComments.frm* (**Comments**) | [Comments](https://docs.textcontrol.com/tx-text-control-activex/document-editor/comments/llms-full.txt) |
| **Edit** > **Signature Field...** | *frmSignerData.frm* (**Signer Info**) | [Signature Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/signature-fields/llms-full.txt) |
| **Options** > **HTML...**, **Options** > **PDF...** | *HTMLOptions.frm*, *PDFOptions.frm* | -- |
| **File** > **Print Preview** | *PrintPreview.frm* | [Printing](https://docs.textcontrol.com/tx-text-control-activex/document-editor/printing/llms-full.txt) |

![The Hyperlink form of the TXWords sample of version 34.0 with Text to display, Address, Descriptive Text and a list of the bookmarks of the current document.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/hyperlink-form.1991a0bc.webp)

### Choose the Language of the Dialog Boxes

The built-in dialog boxes are resources of `TXTextControl`, like its information strings and error messages. The [Language](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/language-property/llms-full.txt) property selects the language in which they appear. English and German are built in, and the default is the Windows system language; when the system language isn't a built-in language, the dialog boxes are English. TXWords sets `TXTextControl1.Language = 1` in `Form_Load`, which gives English dialog boxes on every system.

For another language, you build a resource library, a DLL that contains the translated dialog box templates and strings, from the files of the resource kit, and assign its full path to the [ResourceFile](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/resourcefile-property/llms-full.txt) property. The `Language` property is then ignored. When the library lacks a resource or can't be found, TX Text Control displays the English resource without reporting an error. [Resources and Localization](https://docs.textcontrol.com/tx-text-control-activex/deployment/localization/llms-full.txt) describes the resource kit and where to place the library.

The button bar and the status bar have `Language` and `ResourceFile` properties of their own, which you set separately. [Button Bar, Ruler Bar and Status Bar](https://docs.textcontrol.com/tx-text-control-activex/document-editor/toolbars/#change-the-look-and-the-language) lists them.

### Key Members

| Member | Description |
|---|---|
| [FontDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontdialog-method/llms-full.txt) | Opens the Font dialog box for the selected text. |
| [ParagraphDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms-full.txt) | Opens the Paragraph dialog box for the selected paragraphs. |
| [SectionFormatDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionformatdialog-method/llms-full.txt) | Opens the Page Setup dialog box on one of its four tabs. |
| [TableAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableattrdialog-method/llms-full.txt) | Opens the Table Properties dialog box for the selected cells. |
| [FindReplace](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/findreplace-method/llms-full.txt) | Opens the Find (1) or the Replace (2) dialog box. |
| [StyleListChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/stylelistchanged-event/llms-full.txt) | Occurs when styles have been created or deleted, also in the Styles dialog box. |
| [FieldAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldatinputpos-property/llms-full.txt) | The field at the input position, whose identifier `FormFieldDialog` takes. |
| [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) | The value 3 opens the password dialog box that protects the document. |
| [Language](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/language-property/llms-full.txt) | The language of the dialog boxes and messages. |
| [ResourceFile](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/resourcefile-property/llms-full.txt) | A resource library with dialog boxes in another language. |

### Related Pages

- [Character and Paragraph Formatting](https://docs.textcontrol.com/tx-text-control-activex/document-editor/formatting/llms-full.txt): the attributes behind the Font, Paragraph and Tabs dialog boxes.
- [Sections and Page Setup](https://docs.textcontrol.com/tx-text-control-activex/document-editor/sections/llms-full.txt): the four tabs of the Page Setup dialog box in detail.
- [Button Bar, Ruler Bar and Status Bar](https://docs.textcontrol.com/tx-text-control-activex/document-editor/toolbars/llms-full.txt): the formatting controls that complement the dialog boxes.
- [Resources and Localization](https://docs.textcontrol.com/tx-text-control-activex/deployment/localization/llms-full.txt): dialog boxes in other languages.
- [A Word Processor](https://docs.textcontrol.com/tx-text-control-activex/document-editor/word-processor/llms-full.txt): the TXWords sample program.

---

## Nearby

- **Previous:** [Button Bar, Ruler Bar and Status Bar](https://docs.textcontrol.com/tx-text-control-activex/document-editor/toolbars/llms-full.txt)
- **Next:** [Mail Merge](https://docs.textcontrol.com/tx-text-control-activex/mail-merge/llms-full.txt)
