[email protected] wrote:
> I changed the line that calls the dialog:
>  
> from :
>  
>     dlg = dabo.ui.createForm("findRun3.cdxml",  self)
> dlg.show()
> 
> to:
>  
>     dlg = dabo.ui.createForm("findRun3.cdxml", show=True,  parent=self)
> #dlg.show()
>  
> (I saw these extra parameters on a post by Ed)
>  
> Now everything works fine!
>  
> Any explanations?

Yes, here's the method signature:

def createForm(srcFile, show=False, *args, **kwargs):

So, the first parameter is whether or not to show the form. Change your 
code to:

dlg = dabo.ui.createForm("my.cdxml", False, self)

--or--

dlg = dabo.ui.createForm("my.cdxml", *(self,))

Clear as mud?

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]

Reply via email to