窗口显示于parent控件上
procedure TForm1.openForm(aFormClass: TFormClass; aOwner: TWinControl);
begin
with AFormClass.Create(aOwner) do
begin
ManualDock(aOwner);
WindowState := wsMaximized;
Align := alClient;
Show;
end;
end;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/archive/2011/04/09/2940611.html