home *** CD-ROM | disk | FTP | other *** search
- unit About;
-
- {************************************************************************
- * *
- * Calculator About Box *
- * *
- ************************************************************************}
-
- { Author: John Zaitseff <J.Zaitseff@unsw.edu.au>
- Date: 6th November, 1996.
- Version: 1.2
-
- This file provides the user interface code to create a (very) simple
- About dialog box. Most of the "code" is actually written by Delphi
- from ABOUT.DFM.
-
- This program, including this file, is under the terms of the GNU
- General Public License.
- }
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- ExtCtrls, StdCtrls;
-
- type
- TAboutWin = class(TForm)
- OKButton : TButton;
- HelpButton : TButton;
- Panel : TPanel;
- ProgramIcon : TImage;
- ProductName : TLabel;
- Version : TLabel;
- Copyright : TLabel;
- Comments1 : TLabel;
- Comments2 : TLabel;
-
- procedure HelpButtonClick (Sender : TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- AboutWin : TAboutWin;
-
- implementation
-
- {$R *.DFM}
-
- { Display the program's License. The help context is found
- in the Object Inspector "HelpContext" property for AboutWin. }
- procedure TAboutWin.HelpButtonClick (Sender : TObject);
-
- begin
- Application.HelpContext(HelpContext)
- end;
-
- end.
-
-