home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- // Borland C++Builder
- // Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
- //---------------------------------------------------------------------------
- // About.pas
- //
- // VCL Class Browser
- //---------------------------------------------------------------------------
- unit about;
-
- interface
-
- uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
- Buttons, ExtCtrls;
-
- type
- TAboutBox = class(TForm)
- Panel1: TPanel;
- ProgramIcon: TImage;
- ProductName: TLabel;
- Version: TLabel;
- Copyright: TLabel;
- Comments: TLabel;
- OKButton: TButton;
- Label1: TLabel;
- Label2: TLabel;
- procedure OKButtonClick(Sender: TObject);
- procedure FormDblClick(Sender: TObject);
- procedure FormCreate(Sender: TObject);
- procedure ProgramIconDblClick(Sender: TObject);
- private
- Footnote:Boolean;
- public
- { Public declarations }
- end;
-
- var
- AboutBox: TAboutBox;
-
- implementation
-
- {$R *.DFM}
-
- procedure TAboutBox.OKButtonClick(Sender: TObject);
- begin
- Close;
- end;
-
- procedure TAboutBox.FormDblClick(Sender: TObject);
- begin
- Footnote:=true;
- end;
-
- procedure TAboutBox.FormCreate(Sender: TObject);
- begin
- Footnote:=false;
- end;
-
- procedure TAboutBox.ProgramIconDblClick(Sender: TObject);
- begin
- if Footnote=true then Comments.Show;
- Footnote:=false;
- end;
-
- end.
-
-