Ed Leafe wrote: > On Nov 29, 2008, at 3:12 PM, Ed Leafe wrote: > >> There really is no hook for this point of the app creation code. I >> think it would be a good idea to add an afterSetup() hook method to >> dApp, which would be called after the UI has been initialized. Let me >> play with it a little bit, and I should have a commit soon. > > > It seems to work as expected, so I've committed the change. Now if > you grab the latest from Subversion and put your code in the app's > afterSetup() method, it should be able to reference self.uiApp.
The other option I can think of off the top of my head is to catch the Activate event for the app: app.bindEvent(dabo.dEvents.Activate, handler) 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]
