Information Box Problem(solved)

Started by xerca, Tue 17/05/2011 17:22:03

Previous topic - Next topic

xerca

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.

xerca

I solved my problem by using a listbox instead of a label. Thanks for nothing btw.

Khris

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.

xerca

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.

Hudders

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.

SMF spam blocked by CleanTalk