-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Ed Leafe
Sent: Thursday, May 20, 2010 6:48 PM
To: Dabo Users list
Subject: Re: [dabo-users] Open a newform within theapplication frame (notas
new window)
On May 20, 2010, at 12:20 PM, Martinecz Miklós wrote:
> I created my forms in the Class Designer.
> Where in this case I specify the parent object like you said?
>
> I tried to follow your advise in the Main.py file as well as within the
from
> (created in CD) but with no success.
You would specify the parent of the form when you instantiate the
form. You must have some code that creates the form, so with a cdxml-based
class it would look like:
myform = dabo.ui.createForm("C:\\path\\to\\myform.cdxml",
self.Application.MainForm)
-- Ed Leafe
************
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.)
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?
Thanks,
Miklós
_______________________________________________
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/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaackgpanngp0urgxvyyklpm8kaaaaqaaaawsmvwmt9aukiahws7xr7maeaa...@upcmail.hu