home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / Delphi / TeeChartPro / TeeChart5Delphi5Eval.exe / %MAINDIR% / Examples / Features / Shape_Image.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2001-09-10  |  686 b   |  34 lines

  1. unit Shape_Image;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   Base, StdCtrls, TeEngine, TeeShape, ExtCtrls, TeeProcs, Chart;
  8.  
  9. type
  10.   TShapeImage = class(TBaseForm)
  11.     Series1: TChartShape;
  12.     Series2: TChartShape;
  13.     CheckBox1: TCheckBox;
  14.     procedure CheckBox1Click(Sender: TObject);
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. implementation
  22.  
  23. {$R *.DFM}
  24.  
  25. procedure TShapeImage.CheckBox1Click(Sender: TObject);
  26. begin
  27.   Series1.Transparent:=CheckBox1.Checked;
  28.   Series2.Transparent:=CheckBox1.Checked;
  29. end;
  30.  
  31. initialization
  32.   RegisterClass(TShapeImage);
  33. end.
  34.