$text->SetCursor( position );
This is used to move cursor at the given position.
Is there any way that I can move the cursor by a given offset value?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You just have to use the correct position descriptor; they support a little language of their own. For example, the string
insert + 1 chardescribes the location one character further on than the insertion point (insertis a special kind of mark that represents where text will be inserted and is where the caret is located when focus is in the text widget).