On Jul 29, 2008, at 6:01 PM, Nate Lowrie wrote:

> When the init file runs, the dabo app object is not defined.  I think
> this is not a problem as I am just creating the class and I should
> only have to worry about the app object during instantiation.  Boy was
> I wrong.

        If the app doesn't exist, you won't be able to create a form/dialog  
anyway.

> Seems like the solution lies in moving the TempFileHolder object
> creation out of dApp.  Ed or Paul, if you have a suggestion on
> implementation and let me know, I'll make the changes.

        No, that's not the solution at all. The solution is not to create GUI  
objects until the app object is available.

        You don't need to manually create the dialog, either. Just call  
dabo.ui.createForm() when the dialog is needed.

        When you find yourself fighting a framework, generally it means that  
you are not using the framework as intended.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to