1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| uses
windows,
Forms,
fexperts in 'fexperts.pas' {frmExperts},
// etc.
{$R *.RES}
const
SPLASH_WAIT_SEC = 2;
begin
Application.Initialize;
Application.Title := '-------';
splash := TFrmSplash.Create(nil); //splash déclaré ds funite.pas
splash.Show;
splash.Update;
sleep(SPLASH_WAIT_SEC * 1000);
Application.CreateForm(TMain---, Main---);
Application.CreateForm(TfrmExperts, frmExperts);
Application.CreateForm(TfrmQR, frmQR);
// etc.
application.ProcessMessages;
Application.Run;
end. |
Partager