# HeaderFooterStyle Property

> Sets how headers and footers are activated and shown: single mouse click, no double-click, a solid frame, no border or a dashed dividing line; values add up.

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

---

This property determines how headers and footers can be activated and how activated headers and footers appear on the screen.

### Syntax

```vbscript
TXTextControl.HeaderFooterStyle [= style]
```

| Setting | Description |
|---|---|
| txMouseClick (1) | Headers and footers can be activated through single mouse clicks. |
| txNoDblClk (2) | Headers and footers cannot be activated through mouse double-clicks. |
| txSolidFrame (4) | An activated header or footer has a solid border to indicate its size. |
| txUnframed (8) | An activated header or footer has no border. |
| txDividingLine (16) | An activated header or footer is divided from the main text with a dashed line. |

### Data Types

Integer.

### Limitations

Run time only.

### Remarks

The property value can be the sum of one or more of the specified settings. By default a header or footer is activated with a mouse double-click and is divided from the main text with a dashed line.

### See Also

- [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt)
- [Programming Category: Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/headers-footers/llms-full.txt)

---

## Nearby

- **Previous:** [HeaderFooterSelect Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms-full.txt)
- **Next:** [HExpand Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hexpand-event/llms-full.txt)
