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:=Tform1.create(self);form2.showmodal;form2.free;end;
But it shows me it's wrong.Why?
Related Articles and Replies: