Einzelnen Beitrag anzeigen

Svenkan

Registriert seit: 10. Feb 2007
Ort: Bersenbrück
547 Beiträge
 
Delphi 7 Enterprise
 
#3

Re: Splashscreen: Formcreate der Mainform ausführen

  Alt 19. Jul 2007, 23:24
Ich habe dieses Tutorial von dieser Seite benutzt. Dort wird der Splash-Screen in folgendem Code abgerufen:

Delphi-Quellcode:
begin
  Splash := TSplash.Create(Application);
  try
    Splash.Show;
    Splash.Refresh;
    Application.Initialize;
    Application.Title := 'VPlan';
    Application.CreateForm(THauptform, Hauptform);
    Application.CreateForm(TGrundeinstellungen, Grundeinstellungen);
    Application.CreateForm(TAbout, About);
    Application.CreateForm(TLizenz, Lizenz);
    Application.CreateForm(THTMLFarben, HTMLFarben);
    Application.CreateForm(TSettings_FTP, Settings_FTP);
    Application.CreateForm(TIndexseite, Indexseite);
  finally
    Splash.InitializationDone := True;
  end;
  Application.Run;
Sven Kannenberg
  Mit Zitat antworten Zitat