Aug-14-2018, 01:58 PM
Hello,
I have a StaticText where i can set the label with
I need to append the new string to the old one, not replacing it, so i can see all the strings, not only the last one.
I tried with
Is there an easy way to do this (i.e. a method) or the only way is to play with strings (i.e. i can append the new string to the last one and then call the SetLabel method)?
Thanks
I have a StaticText where i can set the label with
mystaticText.setLabel("Hello")However, when i use SetLabel, the string showed in the textBox disappeares and is replaced by the new one.
I need to append the new string to the old one, not replacing it, so i can see all the strings, not only the last one.
I tried with
mystaticText.AppendText("hello_2")but is does not work.
Is there an easy way to do this (i.e. a method) or the only way is to play with strings (i.e. i can append the new string to the last one and then call the SetLabel method)?
Thanks