呵呵,我用那一个
if application.FindComponent('stu_xq')=nil then
begin
Application.CreateForm(Tstu_xq, stu_xq);
stu_xq.Dock(main.FlatPanel1,BoundsRect);
stu_xq.Show;
end
else
begin
stu_xq.Show;
stu_xq.SetFocus;
end;
把窗体他创建并且显示啊,但是,显示的结果并不是我想要的啊,我想要的是把stu_xq在那一个main.flatpanel1.上面全屏显示啊,介理,上面的结果是这样啊,但是,他把那一个标题栏没有了,要怎么 改啊
if application.FindComponent('stu_xq')=nil then
begin
Application.CreateForm(Tstu_xq, stu_xq);
stu_xq.Dock(main.FlatPanel1,BoundsRect);
stu_xq.Show;
end
else
begin
stu_xq.Show;
stu_xq.SetFocus;
end;
把窗体他创建并且显示啊,但是,显示的结果并不是我想要的啊,我想要的是把stu_xq在那一个main.flatpanel1.上面全屏显示啊,介理,上面的结果是这样啊,但是,他把那一个标题栏没有了,要怎么 改啊
stu_xp.WindowState := wsMaximized;
试试看。