Re: Form create


Posted by JC Servaye on April 05, 2001 at 14:54:11:

In Reply to: Form create posted by bodao,Pitt on April 05, 2001 at 09:15:51:

: First I create form1 with a button that calls form2.
: Then I set the form2 as the "available forms",not "autocreate forms".

: TForm1.Button1Click();
: begin
: form2:=Tform2.create(self); <--------- error here
: form2.showmodal;
: form2.free;
: end;

: But it shows me it's wrong.Why?



Related Articles and Replies: