home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 1999 February / maximum-cd-1999-02.iso / Benchmarks / White Paper / unit3.pas < prev   
Encoding:
Pascal/Delphi Source File  |  1994-12-02  |  541 b   |  34 lines

  1. unit Unit3;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, Gauges, StdCtrls;
  8.  
  9. type
  10.   TGaugeWin = class(TForm)
  11.     GaugeLabel: TLabel;
  12.     Gauge1: TGauge;
  13.     OKButton: TButton;
  14.     procedure OKButtonClick(Sender: TObject);
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. var
  22.   GaugeWin: TGaugeWin;
  23.  
  24. implementation
  25.  
  26. {$R *.DFM}
  27.  
  28. procedure TGaugeWin.OKButtonClick(Sender: TObject);
  29. begin
  30.   GaugeWin.Hide;
  31. end;
  32.  
  33. end.
  34.