# ObjectAttrDialog Method

> Opens the built-in dialog box for images, text frames and OLE objects at the text wrapping, size and distances or attributes tab; returns True when changed.

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

---

This method invokes the built-in dialog box for setting attributes of images, text frames and OLE objects. The dialog box offers different options depending on the kind of object, currently selected.

Introduced: 12.0.

### Syntax

```vbscript
TXTextControl.ObjectAttrDialog [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 text wrapping and layout. |
| 1 | The dialog box shows the tab for setting size and distances. |
| 2 | The dialog box shows the tab for setting specific attributes, such as image saving options or text frame colors and frames. |

### 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 object.

### See Also

- [Programming Category: Images, Text Frames, Signature Fields and OLE Objects](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/images-objects/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:** [NumberingAttribute Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/numberingattribute-property/llms-full.txt)
- **Next:** [ObjectChangeZOrder Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectchangezorder-method/llms-full.txt)
