home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / ostatni / delphi / ruzne / zcd30120.exe / Demo / v11_1.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1997-05-04  |  1.0 KB  |  52 lines

  1. unit V11_1;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, Animate, Std2, Mystd, StdCtrls, zGauge;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     zMinMax1: TzMinMax;
  12.     zColorBtn1: TzColorBtn;
  13.     zShowApp1: TzShowApp;
  14.     Edit1: TEdit;
  15.     zGradBtn1: TzGradBtn;
  16.     zBigLabel1: TzBigLabel;
  17.     zBitColBtn1: TzBitColBtn;
  18.     zBitColBtn2: TzBitColBtn;
  19.     zGauge1: TzGauge;
  20.     procedure zColorBtn1Click(Sender: TObject);
  21.     procedure zBitColBtn1Click(Sender: TObject);
  22.     procedure zBitColBtn2Click(Sender: TObject);
  23.   private
  24.     { Private declarations }
  25.   public
  26.     { Public declarations }
  27.   end;
  28.  
  29. var
  30.   Form1: TForm1;
  31.  
  32. implementation
  33.  
  34. {$R *.DFM}
  35.  
  36. procedure TForm1.zColorBtn1Click(Sender: TObject);
  37. begin
  38.   Edit1.Text:=zShowApp1.WindowsString;
  39. end;
  40.  
  41. procedure TForm1.zBitColBtn1Click(Sender: TObject);
  42. begin
  43.   zGauge1.Value:=zGauge1.Value-1;
  44. end;
  45.  
  46. procedure TForm1.zBitColBtn2Click(Sender: TObject);
  47. begin
  48.   zGauge1.Value:=zGauge1.Value+1;
  49. end;
  50.  
  51. end.
  52.