Different Form Types
Program AresProject;
uses sysutils, classes, forms, dialogs, FForm1, FForm2, FForm3;
begin
//this is "MDI" thype of form
with TForm2.create(application) do begin
formType := ftChild;
show;
end;
//this is also "MDI" thype of form, but with pantheon DB Controls
with TForm3.create(application) do begin
formType := ftChild;
show;
end;
//this is normal form, form style fsStayOnTop
with TForm1.create(application) do begin
formStyle := fsStayOnTop;
show;
end;
end.