Hi
def onHit(self, evt):
pf = self.Parent.Parent # pf is a dPageFrameNoTabs object
pf.appendPage("saldospage.cdxml") # saldospage.cdxml is a dPage class
definition
Traceback (most recent call last):
File
"D:\python24\Lib\site-packages\Dabo-0.6.5s-py2.4.egg\dabo\lib\eventMixin.py"
, line 87, in raiseEvent
bindingFunction(event)
File "", line 103, in onHit
File
"D:\python24\Lib\site-packages\Dabo-0.6.5s-py2.4.egg\dabo\ui\uiwx\dPageFrame
NoTabs.py", line 36, in appendPage
return self.insertPage(self.PageCount, pgCls=pgCls,
makeActive=makeActive)
File
"D:\python24\Lib\site-packages\Dabo-0.6.5s-py2.4.egg\dabo\ui\uiwx\dPageFrame
NoTabs.py", line 50, in insertPage
pg = pgCls(self)
TypeError: 'str' object is not callable
Platform: Win
Python Version: 2.4.1 on win32
Dabo Version: Version 0.7a; Revision 2147
UI Version: 2.6.2.1 on wxMSW
--
Jaime Mora Ramones
Tantoyuca Veracruz, Mexico
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users