关于如何控制新建的MDIChild窗体的问题(急!)
路人霆 2002-05-12 04:13:10 在private中说明
procedure CreateMDIChild(const name:string);
创建procedure如下:
procedure tmain.CreateMDIChild(const name:string);
var
Child:TForm;
begin
child:=tTxt_MDIchild.Create(Application);
child.Caption:=name;
if fileexists(name) then begin
(child as tTxt_MDIChild).Memo1.Lines.LoadFromFile(name);
end
end;
当我新建新的CDIChild窗口时,如何控制最上面的MDIChild窗口。它的名字是什么?
谢谢~