TextField.
Returns the line and column position of the insertion point.
tPosition = textfield.GetPosition()
| Variable | Description |
|---|---|
| tPosition | The position of the insertion point. TEXTPOS. |
GetPosition returns a record of type TEXTPOS, which has two fields:
| Field | Description |
|---|---|
| iLine | The current line. INTEGER. |
| iCol | The current column. INTEGER. |
TEXTPOS Position; Position = TextEditor.Document.GetPosition() Verify(Position.iLine, 1, "Check current position") Verify (Position.iCol, 1, "Check current position")