心
心飞雪
Unregistered / Unconfirmed
GUEST, unregistred user!
我想在创建窗体A的时候,先给A窗体标题名称赋值,如原来a.caption='123';我在窗体B调用时如下代码:
var
a1:Topen_win;
begin
a1:=Tope_win.create(application);
a1.caption:='test';
a1.show;
end;
在窗体A的formcreate或formshow显示
showmessage(self.caption);
为何这时还会显示'123'呢?而不会显示'test'?????????
var
a1:Topen_win;
begin
a1:=Tope_win.create(application);
a1.caption:='test';
a1.show;
end;
在窗体A的formcreate或formshow显示
showmessage(self.caption);
为何这时还会显示'123'呢?而不会显示'test'?????????