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

  1. unit Commander_Custom;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
  7.   Dialogs, Base, TeeComma, ExtCtrls, TeeProcs, TeEngine, Chart, StdCtrls;
  8.  
  9. type
  10.   TCommanderCustom = class(TBaseForm)
  11.     TeeCommander1: TTeeCommander;
  12.     procedure FormCreate(Sender: TObject);
  13.   private
  14.     { Private declarations }
  15.   public
  16.     { Public declarations }
  17.   end;
  18.  
  19. implementation
  20.  
  21. {$R *.DFM}
  22.  
  23. procedure TCommanderCustom.FormCreate(Sender: TObject);
  24. begin
  25.   inherited;
  26.   TeeCommander1.CreateControls([ tcbRotate, tcbSeparator, tcb3D ]);
  27. end;
  28.  
  29. initialization
  30.   RegisterClass(TCommanderCustom);
  31. end.
  32.