TextField.
Sets the insertion point in the text field.
texfield.SetPosition (iLine, iCol)
Variable | Description |
---|---|
iLine | The line to move to. INTEGER. |
iCol | The column to move to. INTEGER. |
SetPosition sets the insertion point in the text field at the specified location.
[ ] INTEGER x [-] for x = 1 to 4 [ ] TextEditor.Document.SetPosition (x, 1) [ ] TextEditor.Document.TypeKeys ("<Shift-End>") [ ] Verify (TextEditor.Document.GetSelText (), "Line {x}")