Hello,
I have been having some weird problems after I added a dialog to my
program. It won't end. I have narrowed it down to the actual creation
of the dialog object, it ends fine when I remove it. Here is some
example code that illistrates the problem:
import dabo
dabo.ui.loadUI("wx")
class f(dabo.ui.dForm):
def afterInit(self):
dabo.ui.callAfter(self.test)
def test(self):
class dia(dabo.ui.dOkCancelDialog):
def addControls(self):
pass
mydia = dia(None) #Removal of this makes it work.
if __name__ == "__main__":
app = dabo.dApp()
app.MainFormClass = f
app.start()
Anyone have anyidea of what I am doing wrong?
--
-Echo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users