|
Hi, How to generate a dialog in runtime. I mean create list of controls and add them to dialog. I tried this with obvious result: ll={} for a=1,10 do ll[a]=iup.text{value = tostring(a)} ll[a]["a"]=a ll[a]["action"] = function (self,c,after) print(tostring(self.a)) end end dlg2=iup.dialog{iu.vbox{ll}} Best regards, Nick