N
newdreamer
Unregistered / Unconfirmed
GUEST, unregistred user!
var<br> form:Tform2;<br>begin<br> form:=Tform2.Create(Application);<br> form.Name:=trim(edit1.Text);<br> form.Caption:=trim(edit1.Text);<br> form.Show;<br>end;<br>然后用:<br> Tform2(edit1.text).show; //一执行就出错。<br>请问该如何实现呢?