# ParagraphDialog Method

> Opens the built-in paragraph dialog box at the alignment, spacing and indent tab or the frame and pagination tab, and returns True when the user changed it.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > ParagraphDialog Method
- **292 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms-full.txt

---

Invokes the Text Control's built-in paragraph attributes dialog box and, after the user has closed the dialog box, specifies whether he has changed something.

### Syntax

```vbscript
TXTextControl.ParagraphDialog [ActiveTab]
```

### Parameters

| Parameter | Description |
|---|---|
| ActiveTab | Optional. Specifies the index of the tab, zero-based, that is displayed when the tabbed dialog box is opened. The following values are possible: |

#### ActiveTab

| Value | Description |
|---|---|
| 0 | The dialog box shows the tab for setting alignment, line spacing, indentation and distances. |
| 1 | The dialog box shows the tab for setting a frame and pagination. |

### Return Value

The method returns True when the user has changed one or more attributes. The method returns False when the formatting remains unchanged.

### Data Types

| Name | Data type |
|---|---|
| ActiveTab | Integer |
| Return value | Boolean |

### Remarks

The changes, made in the dialog box, apply to the currently selected text.

### See Also

- [Programming Category: Paragraph Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/paragraph-formatting/llms-full.txt)
- [Programming Category: Built-in Dialog Boxes](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/dialog-boxes/llms-full.txt)

---

## Nearby

- **Previous:** [ParagraphCount Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphcount-property/llms-full.txt)
- **Next:** [ParagraphFormatChange Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphformatchange-event/llms-full.txt)
