Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: xerca on Tue 17/05/2011 17:22:03

Title: Information Box Problem(solved)
Post by: xerca on Tue 17/05/2011 17:22:03
Hi. I created a gui and a label on it so that the text of the label shows what happened. When something happens, the code appends a new sentence in a new line that contains information about what happened in the game, to the text. It works great at first, but when something like eight or nine lines are appended, the label becomes full and those lines stay there. I don't know if more text is written under, because the gui and the label is at the bottom of the screen. I want the first line to be removed when a new thing happens so other lines move to the top and the new sentence is written at the bottom. If possible, I can use another way so that the window will expand with the lines created and the player will be able to scroll up with a button to see the old notifications. I searched both the manual and the forums but I couldn't find anything useful. I would appreciate any help.
Title: Re: Information Box Problem
Post by: xerca on Wed 18/05/2011 21:47:50
I solved my problem by using a listbox instead of a label. Thanks for nothing btw.
Title: Re: Information Box Problem
Post by: Khris on Wed 18/05/2011 22:11:28
Quote from: xerca on Wed 18/05/2011 21:47:50Thanks for nothing btw.
Really? After 24 hours?

But look at the bright side; since you solved this on your own, you don't have to pay us.
Oh wait, that's right, help here is free.
Title: Re: Information Box Problem(solved)
Post by: xerca on Wed 18/05/2011 22:19:27
Umm.. sorry. I didn't mean to be aggressive. I was angry for another thing when I found the solution and while I was posting it. My brain works the best when I'm angry.
Title: Re: Information Box Problem
Post by: Hudders on Wed 18/05/2011 22:30:22
Quote from: Khris on Wed 18/05/2011 22:11:28
Quote from: xerca on Wed 18/05/2011 21:47:50Thanks for nothing btw.
Really? After 24 hours?

But look at the bright side; since you solved this on your own, you don't have to pay us.
Oh wait, that's right, help here is free.

Personally I'm happy my apathy has finally been acknowledged.