________________________________________
I am using wx.BoxSizer for first time. I am trying to create dynamically
Statictext and Textctrl 3 times. But its not working. Can somebody help.
self\.text = wx\.StaticText\(self\.pnl, \-1,label="Enter some text:"\)
self\.edit = wx\.TextCtrl\(self\.pnl,\-1, size=wx\.Size\(250, \-1\)\)
self\.ht\.Add\(self\.text, 0,border=1\)
self\.ht\.Add\(self\.edit, 1,border=1\)
\#self\.pnl\.SetSizer\(self\.ht\)
for x in range\(3\):
self\.vt\.Add\(self\.ht,0\)
self\.pnl\.SetSizer\(self\.vt\)
<<<
You'll need to -create- three times. The code used to create one control,
yes, each, and -add- it three times. Please post in plain text, s'il vous
plait.
ยทยทยท
From: Thippana, Prasoonadevi [mailto:pthippan@mc.com]
Sent: Friday, January 18, 2008 3:33 PM