"setCursorPosition"
Sets the cursor position in a textEdit document.
Synopsis
void setCursorPosition(int para, int pos);
Parameters
Parameter | Description |
---|---|
para | X coordinate (position) in a textEdit document. |
pos | Y coordinate. The cursor position in a textEdit document. |
Description
Sets the cursor position in a textEdit document.
Example
Sets the cursor position in a textEdit document to 5,5.
main()
{
TEXT_EDIT1.setCursorPosition(5,5);
}
Assignment
textEdit