| Prev | Next
Menu: Products - Portfolio - Services - Download - Order - Company

 
Topic #1.1.1.1.1.
Part I
   Version Info  
   Definition  
   Inheritance Chart  
   TtpFitForm  
   TtpSplitterForm  
   TutParentForm  
   whMail.pas  
   Creation Order  
*

  

Browsing >>Creation Order

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.

 
Path:  www.href.com to; Services to; Tech Talk Archive to; PanelWare to; Part I to; Creation Order

Copyright © 1995-2012 HREF Tools Corp. All Rights Reserved Worldwide.
Running: WebHub-v2.167 compiled with d16_win32 on Microsoft-IIS/7.5,
Local Time: Wed, 23 May 2012 22:32:39.
Session 452429792, 32 pages sent to CCBot/1.0 (+http://www.commoncrawl.org/bot.html) at 38.107.179.226;
Time to produce this page: 0msec.