# CommentHighlightMode Property

> Returns or sets how commented text is highlighted: never (txNever), only when it holds the input position (txActivated, default) or always (txAlways).

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/#syntax)
- [Constants](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/#constants)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/#data-types)
- [Limitations](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/#limitations)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/#see-also)

---

## Nearby

- **Previous:** [CommentGetReplied Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentgetreplied-method/llms.txt)
- **Next:** [CommentInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentinsert-method/llms.txt)
