[changed to dabo-dev for my comments] Ed Leafe wrote: > On Oct 3, 2008, at 5:41 PM, Mike Mabey wrote: > >> On the wiki <http://dabodev.com/wiki/ >> HowToReturnAValueFromAModalForm> on How >> To Return A Value From A Modal Form, the last update says that >> wxPython >> still doesn't support forms modally yet. Is this still the case? >> And if >> so, is there a way to work around this so as to use a form (which >> has bizobj >> capabilities) as a spawned dialog-type box and still be able to >> return a >> value to the calling app? > > No, unfortunately this ability has not been added. When we started > with wxPython several years ago, there was a hope that this was going > to be changed sooner rather than later, so we wrote the classes in > anticipation of supporting that feature. But now it looks as though it > is unlikely to ever happen. > > It's certainly possible to do what you ask, but not as simple as with > a regular form, with its built-in data awareness. What do you need to > do exactly? Perhaps we could come up with an alternative approach that > would be easier to implement.
All we need to do is abstract the data-aware stuff from dForm into some abstract mixin that we can combine with dForm, dDialog, or any other container. I meant to do this years ago but never got around to it. There's a ticket for it. I don't think it'll be hard, but could be tedious. Paul _______________________________________________ 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]
