June 18th, 2005, 01:36 PM
Boa Constructor Bug
I just found a bug in Boa Constructor, it isn't serious, because you can retype the syntax error (it adds an extra ".") yourself. Here is an example of what happens:
So far this has only happened when using a Panel.
self.panel1 = wx.Panel(id=wxID_SLBOTPANEL1, name='panel1', parent=self,
pos=wx.Point(704, 8), size=wx.Size(200, 400),
self.panel1.SetBackgroundColour(wx.Colour(82, 0, 164))
self..CheckBox1 = wx.CheckBox(id=wxID_SLBOT.CHECKBOX1,
label='Enable Builtin Commands', name='.CheckBox1',
parent=self.panel1, pos=wx.Point(0, 8), size=wx.Size(176, 13),
self..CheckBox1.SetForegroundColour(wx.Colour(255, 255, 255))
self..CheckBox1.SetToolTipString('Enable Builtin Commands')
Update: I've just found a bunch more bugs. All of them are related to the Panel. Boa will repeat code it has already used for each type you edit the objects inside of the Panel. Instead of replacing it or editing it like it should normally do, it appens it to your file. Not good, I am getting many errors now.
Update: I think I found a solution. If only one object of a unique type (not the same as the object before) is added at a time. Errors aren't produced, however, the code still isn't as good as it should be.
Last edited by †Yegg†; June 18th, 2005 at 02:03 PM.
June 19th, 2005, 11:08 AM
June 19th, 2005, 11:13 AM
Thanks. I just finished signing up, I'll post the problem.
Note: I found more bugs with Panels after I made this post.