Scrollable text box

This forum is currently in read-only mode.
  • 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.

  • 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):

    <img src="http://www.dodbits.com/dods/images/stories/Hud_stuff/chat_text_colors.jpg" border="0" />

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

    Regards!

  • Try this:

    R118 List Object

  • That is a construct 2 project. I'm doing on Construct Classic (it's free!) Thanks Anyways ;)

  • Ok

    CCListboxR2

  • 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. ^^

  • Done! And i make an event that select last line added always the list add a line. Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Try this:

    where is file please, its no longer on dropbox, and i have something like this to work on

    R118 List Object

  • > 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

  • 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

  • >

    > > 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

    thanks, checking it out right away

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)