On Mar 2, 2007, at 1:06 PM, johnf wrote:

> This brings up a general question.  When using forms generated from  
> cdxml
> files how do you pass the parent form.  I ask because I want to  
> prevent the
> called cdxml form from having the ability to close/shut down the app.

        dabo.ui.createForm("foo.cdxml", self)
                -or-
        dabo.ui.createForm("foo.cdxml", parent=self)

        It uses the typical *args, **kwargs parameters to pass parameters  
along to the form as it is instantiated.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



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

Reply via email to