Text box and cursor

Get help using Construct 2

Post » Wed Nov 05, 2014 5:41 pm

hello there :) what i need to do is when you clicking on Text Box, input cursor will move to the end of the text. not only line, but whole text. any ideas?
Text Box type is Textarea.
B
6
S
1
Posts: 53
Reputation: 506

Post » Wed Nov 05, 2014 6:05 pm

I guess you should set the textbox focused...
I tried this and my cursor appeared at the end of the text...
Image
B
54
S
24
G
12
Posts: 96
Reputation: 10,316

Post » Wed Nov 05, 2014 6:35 pm

may be its working if textbox was unfocused at first. but my textbox focused and its not working.
B
6
S
1
Posts: 53
Reputation: 506

Post » Wed Nov 05, 2014 6:52 pm

ok. here is the solution. first of all i created text object(terminal_text_buffer) to fill it with textbox content. the rest of logic you can see in screenshot
You do not have the required permissions to view the files attached to this post.
B
6
S
1
Posts: 53
Reputation: 506


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 11 guests