Howto: Use Text Fields

Windows Presentation Foundation User's Guide

Marked Text Fields are markers which are inserted in the text. They can be used to implement a wide range of special functions in a text processor. To name just a few:

Any group of characters within the text can be a marked text field. The maximum number of fields is 65,535. Text Control maintains the positions and numbers of the fields. It also takes care of loading, saving and clipboard operations.

Additional information about text fields can be found in the Technical Articles part in the chapter Text Fields and Hypertext Links.

The source code for this example is contained in the following directories:

Used TX Text Control controls:

Relevant API links:

A Simple Example


Adding Strings to Text Fields

Importing and Exporting Fields from and to MS Word

Implementing a MERGEFIELD Class

Implementing a FORMTEXT Class

TX Quote Generator - An Advanced Example