| Last change
 on this file since 525 was             453, checked in by Kevin Toppenberg, 17 years ago | 
        
          | 
Initial upload of TMG-CPRS 1.0.26.69
 | 
        
          | File size:
            1.1 KB | 
      
      
| Line |  | 
|---|
| 1 | //kt -- Modified with SourceScanner on 9/5/2007 | 
|---|
| 2 | unit fSplash; | 
|---|
| 3 |  | 
|---|
| 4 | interface | 
|---|
| 5 |  | 
|---|
| 6 | uses | 
|---|
| 7 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, | 
|---|
| 8 | ExtCtrls, StdCtrls, DKLang, jpeg; | 
|---|
| 9 |  | 
|---|
| 10 | type | 
|---|
| 11 | TfrmSplash = class(TForm) | 
|---|
| 12 | Panel1: TPanel; | 
|---|
| 13 | lblSplash: TStaticText; | 
|---|
| 14 | lblVersion: TStaticText; | 
|---|
| 15 | lblCopyright: TStaticText; | 
|---|
| 16 | Panel2: TPanel; | 
|---|
| 17 | Image1: TImage; | 
|---|
| 18 | StaticText1: TStaticText; | 
|---|
| 19 | procedure FormCreate(Sender: TObject); | 
|---|
| 20 | private | 
|---|
| 21 | { Private declarations } | 
|---|
| 22 | public | 
|---|
| 23 | { Public declarations } | 
|---|
| 24 | end; | 
|---|
| 25 |  | 
|---|
| 26 | var | 
|---|
| 27 | frmSplash: TfrmSplash; | 
|---|
| 28 |  | 
|---|
| 29 | implementation | 
|---|
| 30 |  | 
|---|
| 31 | {$R *.DFM} | 
|---|
| 32 |  | 
|---|
| 33 | uses ORSystem; | 
|---|
| 34 |  | 
|---|
| 35 | procedure TfrmSplash.FormCreate(Sender: TObject); | 
|---|
| 36 | var SplashFile : string; | 
|---|
| 37 | begin | 
|---|
| 38 | //lblVersion.Caption := 'version ' +  <-- original line.  //kt 9/5/2007 | 
|---|
| 39 | lblVersion.Caption := DKLangConstW('fSplash_version') + //kt added 9/5/2007 | 
|---|
| 40 | FileVersionValue(Application.ExeName, FILE_VER_FILEVERSION); | 
|---|
| 41 | SplashFile := ExtractFilePath(ParamStr(0)) + 'splash.jpg';  //kt | 
|---|
| 42 | if FileExists(SplashFile) then begin          //kt | 
|---|
| 43 | Image1.Picture.LoadFromFile(SplashFile);    //kt | 
|---|
| 44 | end; | 
|---|
| 45 | end; | 
|---|
| 46 |  | 
|---|
| 47 | end. | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.