home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 March / Computerworld_1996-03_cd.bin / idg_cd3 / utility / applau13 / about.pas < prev    next >
Pascal/Delphi Source File  |  1996-02-14  |  840b  |  48 lines

  1. unit About;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls;
  7.  
  8. type
  9.   TAboutForm = class(TForm)
  10.     Panel1: TPanel;
  11.     ProgramName: TLabel;
  12.     Copyright: TLabel;
  13.     Button1: TButton;
  14.     Memo1: TMemo;
  15.     Panel2: TPanel;
  16.     Image1: TImage;
  17.     procedure FormCreate(Sender: TObject);
  18.     procedure Button1Click(Sender: TObject);
  19.   private
  20.     { Private declarations }
  21.   public
  22.     { Public declarations }
  23.   end;
  24.  
  25. var
  26.   AboutForm: TAboutForm;
  27.  
  28. implementation
  29.  
  30. uses Main;
  31.  
  32. {$R *.DFM}
  33.  
  34. procedure TAboutForm.FormCreate(Sender: TObject);
  35. begin
  36.   { Set the captions }
  37.   ProgramName.Caption := ProgramStr+' '+VersionStr;
  38.   Copyright.Caption := CopyrightStr;
  39. end;
  40.  
  41. procedure TAboutForm.Button1Click(Sender: TObject);
  42. begin
  43.   Close;
  44. end;
  45.  
  46. end.
  47.  
  48.