johnf wrote:
> That works - now what if I want the dialog form class to be universally 
> available to all forms?  

Then you break it out into a MyDialog.py file, contents like:

import dabo

class MyDialog(dabo.ui.dDialog):
        ...

You put the MyDialog.py file somewhere accessible to your forms (same 
directory for simplicity is better. This is why I like the AppWizard's 
ui/ directory). Then where you want to use it, do:

import MyDialog
dlg = MyDialog.MyDialog(...)
dlg.showModal()


-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to