Diverse problems
hey guys!
i updating "install shield wizard" (called installtime) @ moment. have 2 problems. hope can me. that's code: ljm030
that's problems:
- added few buttons. 4 of them bit special. if click them, should change caption. work first 3 buttons. fourth not want work. used same code it...
- next problem textboxes. added few of them, , everytime change side in them save. but, if go side not in boxes. difficult me explain better, miss right words. try yourself. write in every box on every side , switch between sides. see problem.
thanks in advance.
greetings timo
point 1]
i did format program set indentation , put writeline in:
elseif caplcb = "no" controls.setbuttoncaption(sbutton[3], sbutcap[1][lang]) elseif caplcb = "nein" controls.setbuttoncaption(sbutton[3], sbutcap[1][lang]) elseif lcb = sbutton[4] 'spezialbutton ja/nein textwindow.writeline("here") caplcb = controls.getbuttoncaption(sbutton[4]) if caplcb = "yes" controls.setbuttoncaption(sbutton[4], sbutcap[2][lang])
we can see endif misplaced closing code block before "elseif lcb = sbutton[4] then"
on point 2] not sure follow - "side" mean next , back.
the following test code seems show working:
= 1 array.getitemcount(box) textwindow.writeline(i+" : "+side+" : "+box[side][i]+" : "+boxtext[side][i]) controls.settextboxtext(box[side][i], boxtext[side][i]) endformust else mean?
Learning > Small Basic
Comments
Post a Comment