On Aug 9, 2009, at 2:02 PM, [email protected] wrote:

> dlg = MyFind(self)
> TypeError: 'dDialog_23949'  object is not callable

        This looks like 'MyFind' is not a class, but the dialog itself. The  
example I gave used 'MyDialogClass()', which meant to instantiate the  
dialog from the class. If you are using .cdxml-based classes, then the  
code would be:

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

> My guess is that the dialog isn't really alive anymore when I return  
> to the
> calling code. So, my questions are:
> how do I hide the dialog?
> Which type of dialog should I be using in Class Designer? (I picked   
> the
> "plain dialog")
> Do all dialogs have this "Accepted" property (I don't see it listed   
> in
> the API documentation for dDialog, but it is listed for "Preference   
> dialog")

        'Accepted' is defined in the dOkCancelDialog class, and reflects  
whether they clicked 'OK' or 'Cancel.


-- Ed Leafe





_______________________________________________
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