Control texteditor cursor position

Discuss GUI programming with the RapaGUI plugin here
Post Reply
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Control texteditor cursor position

Post by tolkien »

Hello!

I'm doing a little program to learn about gui code but I really need it.
I have two texteditors in the same window with the same text.
I want that if i move the cursor in one of the texteditor the other scroll to the same position.
Is it possible?

Thanks mates.
User avatar
root
Posts: 23
Joined: Sun Feb 14, 2010 12:24 pm

Re: Control texteditor cursor position

Post by root »

tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: Control texteditor cursor position

Post by tolkien »

Tried that last night but seems I'm doing something wrong. Would try this evening.
Thanks!!
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: Control texteditor cursor position

Post by tolkien »

Yes. CursorPos was the solution. I was doing something stupid in the middle. I need to sleep sometimes.
Thanks!
Post Reply