home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / convert / about.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1995-12-22  |  792 b   |  41 lines

  1. {about box}
  2. unit About;
  3.  
  4. interface
  5.  
  6. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  7.   Buttons, ExtCtrls, Dialogs;
  8.  
  9. type
  10.   TAboutBox = class(TForm)
  11.     Panel1: TPanel;
  12.     OKButton: TBitBtn;
  13.     ProgramIcon: TImage;
  14.     ProductName: TLabel;
  15.     Version: TLabel;
  16.     Copyright: TLabel;
  17.     Comments: TLabel;
  18.     procedure OKButtonKeyPress(Sender: TObject; var Key: Char);
  19.   private
  20.     { Private declarations }
  21.   public
  22.     { Public declarations }
  23.   end;
  24.  
  25. var
  26.   AboutBox: TAboutBox;
  27.  
  28. implementation
  29.  
  30. {$R *.DFM}
  31.  
  32. procedure TAboutBox.OKButtonKeyPress(Sender: TObject; var Key: Char);
  33. begin
  34.  if Key=^J then
  35.   messageDlg('Designed by Craig Ward, 100554.2072@compuserve.com',mtInformation,
  36.                        [mbOK],0);
  37. end;
  38.  
  39. end.
  40.  
  41.