Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Tue 30/04/2013 10:34:57

Title: SOLVED: Text Append failing to show in Label
Post by: Slasher on Tue 30/04/2013 10:34:57
Hi

I'm wondering why this Append fails to show up. It should be added to the Label Lmemory2 :

Code (AGS) Select
 
Lmemory2.Text.Append("[[*Some text here.");


If you can help, cheers.

EDIT: This seems to do the trick:

Code (AGS) Select
 
Lmemory2.Text = Lmemory2.Text.Append("[[[[[[*Some text here");


Title: Re: SOLVED: Text Append failing to show in Label
Post by: Crimson Wizard on Tue 30/04/2013 11:12:19
Lol, slasher, this is second topic solved by yourself :D.
Both times it took you about 15 minutes.

Maybe next time you will try to find answer yourself, let's say, 30 mins more before posting? :)

BTW, the way new strings are created is shown as an example in almost every topic about string function in the manual.
Title: Re: SOLVED: Text Append failing to show in Label
Post by: Slasher on Tue 30/04/2013 12:03:12
Sorry Crimson old bean,

I'm not the sort to sit on bum and wait for an answer, well not unless I really need to,  so don't leave the forums I may need you in a later post (laugh)



Title: Re: SOLVED: Text Append failing to show in Label
Post by: Khris on Tue 30/04/2013 13:01:46
Crimson isn't asking you to wait on your bum after you posted, he's asking you to consult the manual or do whatever you do to solve these yourself before creating the thread... :)