addressing unkown numbers of fields

Hi Nitro and Robin,

Oh yeah, how stupid of me. Could it be simpler ...?
As for Robin's idea: This is certainly worth to be tried out!

Thanks
Christian

···

Hello,

you could do sth like

boxes =
for item in self.parent.data:
      box = wx.TextCtrl(self,-1,item,size=wx.DefaultSize)
      boxes.append(box)
        sizer.Add(box)
#and now the empty one:
box = wx.TextCtrl(self,-1,"",size=wx.DefaultSize)
boxes.append(box)
sizer.Add(box)

This will get you a list of box widgets which you can later use to access
each box indiviually to call GetValue().

-Nitro