Re: Re: Form create
Posted by webmaster Guido on April 10, 2001 at 18:46:55:
In Reply to: Re: Form create posted by JC Servaye on April 05, 2001 at 14:54:11:
: : First I create form1 with a button that calls form2.
: : TForm1.Button1Click();
: : But it shows me it's wrong.Why?
The line "form2 := Tform2.create(self);" is not wrong. When creating a form, you always have to specify its "owner", and it is allowed to define Form1 as the owner of Form2.