Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Label Array

Hi there

I have a 1 text box and 1 label.
I type text in the "Text box" and press the button. Now it shows in the Label.

But what I want now is when I type again text in the Text Box then that text must also be on the same label but not removing the first label.

var chat = [];
chat[0] = img;
chat[1] = naam;
chat[2] = msg;
for (var i = 0; i < 1; i++) {
Appery('lbl_chat').text(chat[2]);
}

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Label Array

Hello!

Add text, not rewrite prevar chat = [];
chat[0] = img;
chat[1] = naam;
chat[2] = msg;
for (var i = 0; i < 2; i++) {
Appery('lbl_chat')&#46;text(Appery('lbl_chat')&#46;text() + chat);
}/pre

Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Label Array

Awesome!!!!

Thank you :)

Return to “Issues”