-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Ed Leafe
Sent: Thursday, May 20, 2010 4:29 PM
To: Dabo Users list
Subject: Re: [dabo-users] Open a new form within theapplication frame (notas
new window)

On May 20, 2010, at 9:57 AM, Martinecz Miklós wrote:

> How do I specify the main form as the parent? I did not understand this
> part.

        If you're using an AppWizard application, it will do that for you
automatically. If you are manually coding, when you create the form, specify
the parent object (always the first one in Dabo) like this:

myform = MyFormClass(self.Application.MainForm, <other params...>)



-- Ed Leafe

********

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.

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/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaackgpanngp0urgxvyyklpm8kaaaaqaaaamcvvoqbwfuqdtcjhpwmcxweaa...@upcmail.hu

Reply via email to