Ignore:
Timestamp:
Jun 10, 2010, 3:13:12 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/tmg-cprs/CPRS-Chart/fSplash.pas

    r453 r793  
    3939  lblVersion.Caption := DKLangConstW('fSplash_version') + //kt added 9/5/2007
    4040                        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;
    4249  if FileExists(SplashFile) then begin          //kt
    4350    Image1.Picture.LoadFromFile(SplashFile);    //kt
Note: See TracChangeset for help on using the changeset viewer.