home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computerworld 1996 March
/
Computerworld_1996-03_cd.bin
/
idg_cd3
/
utility
/
applau13
/
about.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-02-14
|
840b
|
48 lines
unit About;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls;
type
TAboutForm = class(TForm)
Panel1: TPanel;
ProgramName: TLabel;
Copyright: TLabel;
Button1: TButton;
Memo1: TMemo;
Panel2: TPanel;
Image1: TImage;
procedure FormCreate(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutForm: TAboutForm;
implementation
uses Main;
{$R *.DFM}
procedure TAboutForm.FormCreate(Sender: TObject);
begin
{ Set the captions }
ProgramName.Caption := ProgramStr+' '+VersionStr;
Copyright.Caption := CopyrightStr;
end;
procedure TAboutForm.Button1Click(Sender: TObject);
begin
Close;
end;
end.