When a panel form is created, the panel named 'pa' automatically
reparents itself so that it plugs into the main form's tabbed notebook.
The creation order determines the order of the panels. The caption
of the form that originally contained 'pa' is used to set the tab's caption,
and set the nesting level.
{ from aserver.dpr }
begin
Application.Initialize;
Application.CreateForm(TfmWebHubMainForm, fmWebHubMainForm);
Application.CreateForm(TdmWebHubApp, dmWebHubApp);
Application.CreateForm(TfmAppsetups, fmAppsetups); // for aserver.exe only
Application.CreateForm(TDMExtensions, DMExtensions); // extensions
Application.CreateForm(TfmAppHTML, fmAppHTML); // HTML panel
Application.CreateForm(TfmWhHtmlDecoder, fmWhHtmlDecoder); // Decoder panel
Application.CreateForm(TfmAppIn, fmAppIn); // input panel
Application.CreateForm(TfmAppOut, fmAppOut); // output panel
Application.CreateForm(TfmAppHtmlViewer, fmAppHtmlViewer); // preview panel
Application.CreateForm(TfmWebMail, fmWebMail); // mail panel
Application.CreateForm(TFormViewSource, FormViewSource); // view source panel
//
fmWebHubMainForm.Init; // initialize the main form
dmWebHubApp.Init; // initialize the WebHub application layer
DMExtensions.Init; // initialize the additional components (WebCycle, WebLogin)
fmAppsetups.Init;
//
Application.Run;
end.