Specifies whether a text field has a doubled input position in front of its first character and behind its last character. This enables an end-user to decide whether inserted text at these positions will belong to the text field or not. The default setting of this property is false. For all form fields to work properly this property is set to true and cannot be changed to false.

Syntax

public bool DoubledInputPosition { get; set; }
Public Property DoubledInputPosition() As Boolean

Examples

The following example uses the TextField class and shows how to insert a new field (i.e. NewField) and increase field ID. The DoubledInputPosition property has been set to true so that NewField has a doubled input position in front of its first character and behind its last character.

TXTextControl.TextField NewField = new TXTextControl.TextField();
       NewField.Text = "--------";
       NewField.ID = FieldID;
       NewField.DoubledInputPosition = true;
       NewField.ShowActivated = true;
FieldID += 1;
textControl1.TextFields.Add(NewField);
Dim NewField As TXTextControl.TextField = New TXTextControl.TextField()
    NewField.Text = "--------"
    NewField.ID = FieldID
    NewField.DoubledInputPosition = True
    NewField.ShowActivated = True
FieldID += 1
textControl1.TextFields.Add(NewField)

See Also

Text Fields and Hypertext Links - Editing Marked Text Fields.