home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 August
/
VPR9608A.BIN
/
del20try
/
install
/
data.z
/
REABOUT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-05-08
|
812b
|
44 lines
unit Reabout;
interface
uses Windows, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, SysUtils;
type
TAboutBox = class(TForm)
OKButton: TButton;
ProgramIcon: TImage;
Label1: TLabel;
Bevel1: TBevel;
Label2: TLabel;
Label3: TLabel;
PhysMem: TLabel;
Label4: TLabel;
FreeRes: TLabel;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
AboutBox: TAboutBox;
implementation
{$R *.DFM}
procedure TAboutBox.FormCreate(Sender: TObject);
var
MS: TMemoryStatus;
begin
GlobalMemoryStatus(MS);
PhysMem.Caption := FormatFloat('#,###" KB"', MS.dwTotalPhys / 1024);
FreeRes.Caption := Format('%d %%', [MS.dwMemoryLoad]);
end;
end.