# FrameStyle Property

> Returns or sets the frame of the selected paragraphs: left, right, top and bottom lines, tab lines, single or double lines, connected boxes and reset flags.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FrameStyle Property
- **287 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framestyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framestyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framestyle-property/llms-full.txt

---

Returns or sets the style of the currently selected paragraphs' frames.

### Syntax

```vbscript
TXTextControl.FrameStyle [= value]
```

| Setting | Description |
|---|---|
| &H1 | Draws a left frame line. |
| &H2 | Draws a right frame line. |
| &H4 | Draws a top frame line. |
| &H8 | Draws a bottom frame line. |
| &H10 | Draws a vertical line at each tab position. |
| &H20 | Draws a single line. |
| &H40 | Draws a doubled line. |
| &H80 | Connects two sequential boxes to form a single box. |
| &H100 | Resets an existing left line. |
| &H200 | Resets an existing right line. |
| &H400 | Resets an existing top line. |
| &H800 | Resets an existing bottom line. |
| &H1000 | Resets existing tabulator lines. |
| &H8000 | Resets the connection of two sequential boxes. |

### Data Types

Integer.

### Limitations

Run time only.

### Remarks

The property returns -1 if the user selects two or more paragraphs which have different frame style settings.

### See Also

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

---

## Nearby

- **Previous:** [FrameLineWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/framelinewidth-property/llms-full.txt)
- **Next:** [GetBaseLinePos Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getbaselinepos-method/llms-full.txt)
