Scrollable text box

For questions about using Classic.

Post » Sat Feb 09, 2013 4:56 pm

Hi everyone:

I'm trying to make a scrollable text box simulating a chat/information box. Just something like all chat box on Online Games, but using for information.

All i do is append all texts i wanna put adding &newline. The real problem is when i append a new line text, the vertical scroll bar refreshes and returns up, when I want it to stay down. I didn't find any option to get that.

Hope some help. Thanks in advance.

Attentively, raulcg1987.
B
3
G
1
Posts: 8
Reputation: 467

Post » Wed Feb 13, 2013 6:00 pm

Please, can anyone give me a solution?

I wanna get a multiline text box with a vertical scroll (read-only) .

So i could add lines (so newer lines are at bottom) and the newer lines should be visible (vertical scroll is on bottom after a line is added).

Something like this (only the multiline text box):



It's the only thing i can't schedule on my game. :(

Regards!
B
3
G
1
Posts: 8
Reputation: 467

Post » Wed Feb 13, 2013 6:58 pm

Try this:

R118 List Object
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Feb 13, 2013 7:09 pm

That is a construct 2 project. I'm doing on Construct Classic (it's free!) Thanks Anyways ;)
B
3
G
1
Posts: 8
Reputation: 467

Post » Wed Feb 13, 2013 7:20 pm

Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Feb 13, 2013 8:15 pm

Omg! That is exactly what I wanted to get, and I was looking a solution using the text box object.
I was trying exactly the same, select the last line of the text box.

Thank you very much!

PS: And thanks that cap i found the r2 version of CC. ^^raulcg19872013-02-13 20:35:26
B
3
G
1
Posts: 8
Reputation: 467

Post » Wed Feb 13, 2013 10:03 pm

Done! And i make an event that select last line added always the list add a line. Thanks!
B
3
G
1
Posts: 8
Reputation: 467

Post » Thu Mar 20, 2014 11:10 am

newt wrote:Try this:
where is file please, its no longer on dropbox, and i have something like this to work on
R118 List Object
B
15
S
4
Posts: 138
Reputation: 2,003

Post » Thu Mar 20, 2014 11:17 am

Dasat wrote:
newt wrote:Try this:
where is file please, its no longer on dropbox, and i have something like this to work on
R118 List Object


Construct2 or classic?

Construct2 there is a great tutorial example in thetutorial section
Last edited by DUTOIT on Thu Mar 20, 2014 11:20 am, edited 1 time in total.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
61
S
16
G
9
Posts: 1,429
Reputation: 12,474

Post » Thu Mar 20, 2014 11:20 am

raulcg1987 wrote:Please, can anyone give me a solution?

I wanna get a multiline text box with a vertical scroll (read-only) .

So i could add lines (so newer lines are at bottom) and the newer lines should be visible (vertical scroll is on bottom after a line is added).

Something like this (only the multiline text box):



It's the only thing i can't schedule on my game. :(

Regards!


Please how were you able to achieve this finally i would appreciate an illustrative .capx file
B
15
S
4
Posts: 138
Reputation: 2,003

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests