home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2001 June / HDC50.iso / Runimage / Delphi50 / Help / Examples / Menu / ABOUT.PAS < prev    next >
Pascal/Delphi Source File  |  1999-08-11  |  509b  |  35 lines

  1. unit about;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls;
  8.  
  9. type
  10.   TAboutBox = class(TForm)
  11.     Label1: TLabel;
  12.     Label2: TLabel;
  13.     Button1: TButton;
  14.     procedure Button1Click(Sender: TObject);
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. var
  22.   AboutBox: TAboutBox;
  23.  
  24. implementation
  25.  
  26. {$R *.DFM}
  27.  
  28.  
  29. procedure TAboutBox.Button1Click(Sender: TObject);
  30. begin
  31.   Close;
  32. end;
  33.  
  34. end.
  35.