//--------------------------------------------------------------------------- #ifndef FRAME_ChartFH #define FRAME_ChartFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include "cxButtons.hpp" #include "cxCheckBox.hpp" #include "cxClasses.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxGrid.hpp" #include "cxGridChartView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxStyles.hpp" #include "cxTrackBar.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinMcSkin.hpp" #include "cxDropDownEdit.hpp" #include "cxMaskEdit.hpp" #include "cxTextEdit.hpp" //--------------------------------------------------------------------------- class TFRAMEChart : public TFrame { __published: // IDE-managed Components TcxGrid *CxChart; TcxGridChartView *TvChart; TcxGridLevel *GlChart; TcxCheckBox *ChkDisplayVal; TcxLabel *cxLabel2; TcxTrackBar *cxTrackBar1; TcxLabel *LblPage; TcxButton *BtnGraphSave; TcxLabel *lblAll; TcxLabel *lblImgSave; TcxLabel *lblSaveErr; TcxLabel *lblSaveOk; TcxLabel *LblOptionName; TcxComboBox *CbOption; TEdit *EdFocus; void __fastcall ChkDisplayValPropertiesChange(TObject *Sender); void __fastcall cxTrackBar1PropertiesChange(TObject *Sender); void __fastcall cxTrackBar1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall BtnGraphSaveClick(TObject *Sender); private: // User declarations public: // User declarations String FTitle; __fastcall TFRAMEChart(TComponent* Owner); void __fastcall SetChartLegend(String ACategory, String AValue); void __fastcall ChartValueDisplay(bool FDisplayValue); }; //--------------------------------------------------------------------------- extern PACKAGE TFRAMEChart *FRAMEChart; //--------------------------------------------------------------------------- #endif