# StyleDialog Method

> Opens the built-in dialog box for creating, deleting and modifying formatting styles and returns True when the user has changed one or more styles.

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

---

Invokes the Text Control's built-in dialog box for creating, deleting and modifying formatting styles.

### Syntax

```vbscript
TXTextControl.StyleDialog
```

### Return Value

The method returns True when the user has changed one or more styles. The method returns False when all styles remain unchanged.

### Data Types

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

### Remarks

A [StyleListChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/stylelistchanged-event/llms-full.txt) event occurs if styles have been deleted or if new styles have been created.

### See Also

- [Programming Category: Stylesheet Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/stylesheet-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:** [StyleCurrent Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/stylecurrent-property/llms-full.txt)
- **Next:** [StyleListChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/stylelistchanged-event/llms-full.txt)
