An instance of the Input
public class InputPosition
Public Class InputPosition
Introduced: 10.1.
The following example shows how to add a Text
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)
Constructor | Description |
---|---|
Input |
Creates a new instance of the Input |
Enumeration | Description |
---|---|
Scroll |
Determines a position to where the input position is scrolled. |
Method | Description |
---|---|
Scroll |
Scrolls the contents of a Text Control so that the current input position becomes visible. |
Property | Description |
---|---|
Caret |
Gets the size of the caret, in pixels, at the current text input position. |
Column | Gets the column number of the current text input position. |
Inactive |
Shows or hides a marker which indicates the current text input position when the Text |
Line | Gets the line number of the current text input position. |
Location | Gets the geometric location of the current text input position. |
Page | Gets the page number of the current text input position. |
Page |
Gets the page number in the section containing the current text input position. |
Section | Gets the section number of the current text input position. |
Text |
Gets the text position of the current text input position. |