Textbox scroll down

Get help using Construct 2

Post » Fri Nov 22, 2013 5:21 pm

Hi everyone,

Is there a way I can have a Text Box object and scroll it to the end?

I am working on a chat box and I want the user to always view the latest comment inserted. When I do receive new content, I append it to the text box but I want to immediately scroll it down.


Thank you,
IronRick
B
21
S
6
G
5
Posts: 51
Reputation: 4,999

Post » Fri Nov 22, 2013 5:32 pm

Suggetion:

If you turn it around you wont have to scroll :)

ie

textbox set text = newtext & newline & textbox.text

:)

new sentences will be always on top :)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Fri Nov 22, 2013 6:44 pm

Agree with lennaert, have new messages insert at top. So to view last comment you have to scroll down.

I'm using this for board game info box of last player, dice thrown, cards drawn etc all the way to start of game.
Works wonderfully
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Fri Nov 22, 2013 7:35 pm

Ok thank you for the suggestion.
B
21
S
6
G
5
Posts: 51
Reputation: 4,999


Return to How do I....?

Who is online

Users browsing this forum: worm1, Yahoo [Bot] and 27 guests