On May 20, 2010, at 1:06 PM, Martinecz Miklós wrote:

> This time I have no error message and the child opens but not in the place
> of the main form as I would expect. (I placed the 'dabo.MDI = True' just
> under the 'import Dabo' line in the main.py file.)

        It should open up as a "window within a window". In other words, your 
main form should be a big blank window, with your child forms completely 
enclosed within that main form.

> You mentioned that this feature works only under Windows. So if I want my
> application to be 'cross-platform', may be, I will need to use another
> method to show up different forms in the same place (one-after-one of
> course).
> 
> Can you suggest a different way then the MDI?


        For an app to be cross-platform doesn't mean that it looks identical on 
each platform; what it means is that the app behaves the way a user of that 
platform would expect. I'm not sure what the effect you want is designed to 
accomplish, but you can always position a form in its afterInitAll() method: 
self.Position = (200, 120)

        Another option if you really need a series of forms in the same place 
one after the other is to use a wizard by subclassing the Wizard class in 
ui/dialogs/Wizard.py.


-- Ed Leafe



_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/49b46944-a54b-49d1-ae32-6a27e4beb...@leafe.com

Reply via email to