Reply To: String problem

Home Forums General Programming String problem Reply To: String problem

#23878
zeoka
Participant
  • Topics: 73
  • Replies: 466
  • Total: 539
  • ★★★

even if I do :


updlbl = panel:getComponent("TrigSel")
lb1 = panel:getComponent("01SoundLabel"):getComponentText()
panel:getComponent("modulator-5"):setText(lb1)
console(lb1)
lb2 = panel:getComponent("02SoundLabel"):getComponentText()
panel:getComponent("modulator-7"):setText(lb2)
console(lb2)
lb3 = panel:getComponent("03SoundLabel"):getComponentText()
panel:getComponent("modulator-8"):setText(lb3)
console(lb3)
lb4 = panel:getComponent("04SoundLabel"):getComponentText()
panel:getComponent("modulator-9"):setText(lb4)
console(lb4)
z1 = panel:getComponent("modulator-5"):getText()
z2 = panel:getComponent("modulator-7"):getText()
z3 = panel:getComponent("modulator-8"):getText()
z4 = panel:getComponent("modulator-9"):getText()
updlbl:setPropertyString("uiListBoxContent",string.format("%s%s%s%s%s%s%s",z1,"\n",z2,"\n",z3,"\n",z4)) 

Same problem. LUA issue ?

Ctrlr