Error lays here:
for label, field, width, proc, valid, nonblank in self.fields:
pstr = 'Label(self.form,text="%s").place(relx=%f,rely=%f,' 'anchor=E)\n' % (label, (self.anchor-0.02), self.ypos)
if idx == self.keylist[0]:
pstr = '%sself.%s=Entry(self.form,text="",''insertbackground="yellow", width=%d+1,''highlightthickness=1)\n % (pstr,field,width)'
else:
pstr = '%sself.%s=Entry(self.form,text="",''insertbackground="yellow",''width=%d+1)\n' % (pstr,field,width)
pstr = '%sself.%s.place(relx=%f, rely=%f,'
'anchor=W)\n' % (pstr,field,(self.anchor+0.02),self.ypos)
eval('%sself.%sV=StringVar()\n''self.%s["textvariable"] = self.%sV' % (pstr,field,field,field))
self.ypos = self.ypos + self.incr
idx = idx + 1
self.update_display()
Downloads:
0 This Week