home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
ABOUT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1997-02-14
|
1KB
|
67 lines
//---------------------------------------------------------------------------
// 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.