textControl1.Selection.Text = "Name: ";
TXTextControl.TextField field = new TXTextControl.TextField("%name%");
field.DoubledInputPosition = true;
field.HighlightMode = TXTextControl.HighlightMode.Activated;
textControl1.TextFields.Add(field);
textControl1.InputPosition = new TXTextControl.InputPosition(
field.Start + field.Length - 1,
TXTextControl.TextFieldPosition.OutsideTextField);
TextControl1.Selection.Text = "Name: "
Dim Field As TXTextControl.TextField = New TXTextControl.TextField("%name%")
Field.DoubledInputPosition = True
Field.HighlightMode = TXTextControl.HighlightMode.Activated
TextControl1.TextFields.Add(Field)
TextControl1.InputPosition = New TXTextControl.InputPosition( _
Field.Start + Field.Length - 1, _
TXTextControl.TextFieldPosition.OutsideTextField)