On Aug 13, 2009, at 8:10 AM, Roger Gammans wrote:
> Does anyone know why self.Application.biz goes away when
> running code inside ClassDesigner ?
Because the application being run is the Class Designer itself, and
the bizobjs are not part of the Class Designer. You can only have one
application at a time in wxPython.
I think that running forms in the Class Designer is good for
previewing appearance, but full interaction requires that they be run
as part of an application. I usually open the Class Designer from one
terminal, and then open another terminal to launch the app I'm working
on; this way, the app has the correct context and references.
-- 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]