# Marked Text Fields

> Insert, find, change, protect and delete marked text fields in TXTextControl with FieldInsert, FieldCurrent, FieldText and FieldNext, and handle field events.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > Document Editor > Marked Text Fields
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms-full.txt

---

## On This Page

- [How Marked Text Fields Work](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/#how-marked-text-fields-work)
- [Protect Fields From Users](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/#protect-fields-from-users)
- [Respond to Field Events](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/#respond-to-field-events)
- [Properties, Methods and Events](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/#properties-methods-and-events)
- [Find the Right Page](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/#find-the-right-page)
- [Pages in This Section](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/#pages-in-this-section)

---

## In This Section

- [Relating Data to a Marked Text Field](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/data/llms.txt): Relate strings or numbers such as database field names to marked text fields with FieldData, read them in FieldClicked and keep them when copying or saving.
- [Editing Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/editing/llms.txt): Control typing at the edges of marked text fields with FieldEditAttr: a second input position, caret width, gray background and double-click handling.
- [Hypertext Links](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/hyperlinks/llms.txt): Insert external and internal hypertext links and targets in Visual Basic 6 with FieldType and TargetInsert, and jump on FieldLinkClicked with TargetGoto.
- [Link Targets and Bookmarks](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/link-targets-bookmarks/llms.txt): Replace the old txFieldLinkTarget field members with TargetInsert, TargetName, TargetGoto and the other Target members for link targets and bookmarks.
- [Using Microsoft Word Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/microsoft-word/llms.txt): Wrap the Microsoft Word MERGEFIELD and FORMTEXT fields in Visual Basic 6 classes that read FieldTypeData, edit them in dialog boxes and merge database data.
- [Special Types of Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/special-types/llms.txt): Create hypertext links, page numbers, highlights and topics with FieldType and FieldTypeData, and import MERGEFIELD and form fields from Word and RTF files.
- [Using Marked Text Fields in Visual Basic](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/tutorial/llms.txt): Insert marked text fields in Visual Basic 6 with FieldInsert, show a pop-up on FieldClicked and build numbered and named bookmarks with FieldData and FieldNext.

---

## Nearby

- **Previous:** [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms.txt)
- **Next:** [Editing Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/editing/llms.txt)
