home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / delphi / jwrite.lzh / EXAMPLE / ABOUT.PAS < prev    next >
Pascal/Delphi Source File  |  1996-04-30  |  2KB  |  55 lines

  1. (*-------------------------------------------------------------------------------------*)
  2. (*                                                                                     *)
  3. (*               Unit: About                                                           *)
  4. (*                                                                                     *)
  5. (*               Copyright McCallum Whyman Associates Ltd 1996                         *)
  6. (*                                                                                     *)
  7. (*               Version 1.0                                                           *)
  8. (*                                                                                     *)
  9. (*               Author: Tony Whyman                                                   *)
  10. (*                                                                                     *)
  11. (*               Description: This module is part of the J-Write example application   *)
  12. (*                            and defines the About Box form.                          *)
  13. (*-------------------------------------------------------------------------------------*)
  14.  
  15. unit About;
  16.  
  17. interface
  18.  
  19. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  20.   Buttons, ExtCtrls;
  21.  
  22. type
  23.   TAboutBox = class(TForm)
  24.     Panel1: TPanel;
  25.     OKButton: TBitBtn;
  26.     Version: TLabel;
  27.     Copyright: TLabel;
  28.     Panel2: TPanel;
  29.     Label1: TLabel;
  30.     Bevel1: TBevel;
  31.     Image1: TImage;
  32.     procedure OKButtonClick(Sender: TObject);
  33.   private
  34.     { Private declarations }
  35.   public
  36.     { Public declarations }
  37.   end;
  38.  
  39. var
  40.   AboutBox: TAboutBox;
  41.  
  42. implementation
  43.  
  44. Uses dialogs;
  45.  
  46. {$R *.DFM}
  47.  
  48. procedure TAboutBox.OKButtonClick(Sender: TObject);
  49. begin
  50.      Close
  51. end;
  52.  
  53. end.
  54.  
  55.