Changeset 793 for cprs/branches/tmg-cprs/CPRS-Chart/fSplash.pas
- Timestamp:
- Jun 10, 2010, 3:13:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/fSplash.pas
r453 r793 39 39 lblVersion.Caption := DKLangConstW('fSplash_version') + //kt added 9/5/2007 40 40 FileVersionValue(Application.ExeName, FILE_VER_FILEVERSION); 41 SplashFile := ExtractFilePath(ParamStr(0)) + 'splash.jpg'; //kt 41 SplashFile := Trim(ParamSearch('SPLASH')); //elh 42 if SplashFile <> '' then begin //elh 43 if ExtractFilePath(SplashFile) = '' then begin //elh FileName instead of path 44 SplashFile := ExtractFilePath(ParamStr(0)) + SplashFile; //kt 45 end; 46 end else begin 47 SplashFile := ExtractFilePath(ParamStr(0)) + 'splash.jpg'; //kt 48 end; 42 49 if FileExists(SplashFile) then begin //kt 43 50 Image1.Picture.LoadFromFile(SplashFile); //kt
Note:
See TracChangeset
for help on using the changeset viewer.