The code for this application can be downloaded at: http://www.schoolfreeware.com Unlike many programming languages Lazarus does not allow splash screens to be called within the Create Event of the Main form. This is because of the way forms are created within the Lazarus IDE. To call a splash screen open the lpr file and add the code to show the splash screen. Application.Initialize; Application.CreateForm(TfrmMain, frmMain); Application.CreateForm(TfrmSplash, frmSplash); frmSplash.ShowModal; frmSplash.Free; frmSplash := nil; Application.Run; code pour embarquer la vidéo : >>> http://www.youtube.com/embed/lwtcCBUHH-k <<< |