Einzelnen Beitrag anzeigen

EDatabaseError

Registriert seit: 11. Mai 2005
Ort: Göppingen
1.238 Beiträge
 
Delphi 2007 Professional
 
#6

Re: vorschläge für einen ladebalken vor der hauptform

  Alt 20. Sep 2006, 12:52
Also ich mach Splash Screens immer so:
Delphi-Quellcode:
program Project1;
uses
  Forms,
  Windows,
  Unit1 in 'Unit1.pas{Form1},
  Unit2 in 'Unit2.pas{SplashScreen};

{$R *.RES}

begin
  SplashScreen := TSplashScreen.Create(Application);
  try
    SplashScreen.Show;
    Application.Initialize;
    SplashScreen.Update;
    Sleep(1000); // Or a delay command.
    Application.CreateForm(TForm1, Form1);
    SplashScreen.Hide;
  finally
   SplashScreen.Free;
  end;
  Application.Run;
end.
Tobias
It's not a bug, it's a feature.
  Mit Zitat antworten Zitat