procedure TForm1.btn1Click(Sender: TObject);
begin
with TForm2.Create(self) do
begin
ManualDock(self);
WindowState := wsMaximized;
Align := alClient;
Show;
end;
end;
procedure TForm1.btn1Click(Sender: TObject);
begin
with TForm2.Create(self) do
begin
ManualDock(self);
WindowState := wsMaximized;
Align := alClient;
Show;
end;
end;