//--------------------------------------------------------------------------- #ifndef Stripper1H #define Stripper1H //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include "OlectraChart2D_TLB.h" //--------------------------------------------------------------------------- class TfrmStripper : public TForm { __published: // IDE-managed Components TChart2D *Chart2D1; TMainMenu *MainMenu1; TMenuItem *mnuFile; TMenuItem *mnuExit; TTimer *Timer1; TScrollBar *scrNumPoints; TLabel *lblPoints; TLabel *lblArraySize; TScrollBar *scrUpdatesPerSec; TScrollBar *scrScrollBack; TScrollBar *scrPointsPerInt; TLabel *lblUpdateValue; TLabel *lblUpdate; TLabel *lblScrollPercent; TLabel *lblScroll; TLabel *lblNumPoints; TLabel *lblIntervalPoints; TRadioButton *rbFlowON; TRadioButton *rbFlowOff; TMenuItem *mnuHelp; TMenuItem *mnuAboutThisDemo; TMenuItem *N1; TMenuItem *mnuAboutOlectraChart; void __fastcall mnuExitClick(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall FormActivate(TObject *Sender); void __fastcall scrUpdatesPerSecChange(TObject *Sender); void __fastcall scrScrollBackScroll(TObject *Sender, TScrollCode ScrollCode, int &ScrollPos); void __fastcall scrNumPointsScroll(TObject *Sender, TScrollCode ScrollCode, int &ScrollPos); void __fastcall scrPointsPerIntScroll(TObject *Sender, TScrollCode ScrollCode, int &ScrollPos); void __fastcall rbFlowONClick(TObject *Sender); void __fastcall rbFlowOffClick(TObject *Sender); void __fastcall Timer1Timer(TObject *Sender); void __fastcall FormDestroy(TObject *Sender); void __fastcall Chart2D1ModifyStart(TObject *Sender, VARIANT_BOOL *IsOK); void __fastcall mnuAboutThisDemoClick(TObject *Sender); void __fastcall mnuAboutOlectraChartClick(TObject *Sender); private: // User declarations public: // User declarations int ArraySize; int ShiftSize; int EachTime; int NextPoint; int NextX; bool FirstPass; Variant vCG1Data; // Variant cData; Variant vXAxis; // Variant cAxes; __fastcall TfrmStripper(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TfrmStripper *frmStripper; //--------------------------------------------------------------------------- #endif