Get/set cursor for Textbox

Discussion and feedback on Construct 2

Post » Sat Jul 20, 2013 4:51 pm

@Ashley could it be possible?

It's really important but missing feature when you creating custom text input fields.

You have Text object displaying a content of the input from Textbox.
And it's fine, whatever you write in text box will show up in Text object.

You can even emulate cursor at the end of the text with a sprite.
But things go nasty when pressing left/right arrows. Cursor position will change in Text box, but not in the Text object. And if you start writing again, text in Text object will appear somewhere in the middle while sprite cursor standing still behind last letter :)

Found this page maybe usefull.
Posts: 2,611
Reputation: 36,844

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest