On 9/9/10 4:09 PM, Ed Leafe wrote:
> For some reason, 'self.Form' is resolving to None. I've added some code
> to handle that case; retry with the latest commit.
Seems to have resolved it. The only reason self.Form would resolve to None is
if self
is Form. Indeed, I put a "print self" at the top of that method and here's what
I got:
C:\ss>python sbs_studio.py
<FrmSplash (baseclass dabo.ui.dForm, id:-201)>
Traceback (most recent call last):
File "c:\dabo\dabo\ui\uiwx\dPemMixin.py", line 558, in __onWxGotFocus
self.Form._controlGotFocus(self)
AttributeError: 'NoneType' object has no attribute '_controlGotFocus'
<FrmMain (baseclass dabo.ui.dFormMain, id:-310)>
Traceback (most recent call last):
File "c:\dabo\dabo\ui\uiwx\dPemMixin.py", line 558, in __onWxGotFocus
self.Form._controlGotFocus(self)
So we may want to revisit why (all of a sudden/recently) the form is responding
to a
gotfocus event.
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]