FRAME_ChartF.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //---------------------------------------------------------------------------
  2. #ifndef FRAME_ChartFH
  3. #define FRAME_ChartFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include <Menus.hpp>
  11. #include <Graphics.hpp>
  12. #include <Dialogs.hpp>
  13. #include "cxButtons.hpp"
  14. #include "cxCheckBox.hpp"
  15. #include "cxClasses.hpp"
  16. #include "cxContainer.hpp"
  17. #include "cxControls.hpp"
  18. #include "cxCustomData.hpp"
  19. #include "cxEdit.hpp"
  20. #include "cxGraphics.hpp"
  21. #include "cxGrid.hpp"
  22. #include "cxGridChartView.hpp"
  23. #include "cxGridCustomView.hpp"
  24. #include "cxGridLevel.hpp"
  25. #include "cxLabel.hpp"
  26. #include "cxLookAndFeelPainters.hpp"
  27. #include "cxLookAndFeels.hpp"
  28. #include "cxStyles.hpp"
  29. #include "cxTrackBar.hpp"
  30. #include "dxSkinBlack.hpp"
  31. #include "dxSkinBlue.hpp"
  32. #include "dxSkinsCore.hpp"
  33. #include "dxSkinscxPCPainter.hpp"
  34. #include "dxSkinMcSkin.hpp"
  35. //---------------------------------------------------------------------------
  36. class TFRAMEChart : public TFrame
  37. {
  38. __published: // IDE-managed Components
  39. TcxGrid *CxChart;
  40. TcxGridChartView *TvChart;
  41. TcxGridLevel *GlChart;
  42. TcxCheckBox *ChkDisplayVal;
  43. TcxLabel *cxLabel2;
  44. TcxTrackBar *cxTrackBar1;
  45. TcxLabel *LblPage;
  46. TcxButton *BtnGraphSave;
  47. TcxLabel *lblAll;
  48. TcxLabel *lblImgSave;
  49. TcxLabel *lblSaveErr;
  50. TcxLabel *lblSaveOk;
  51. void __fastcall ChkDisplayValPropertiesChange(TObject *Sender);
  52. void __fastcall cxTrackBar1PropertiesChange(TObject *Sender);
  53. void __fastcall cxTrackBar1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  54. void __fastcall BtnGraphSaveClick(TObject *Sender);
  55. private: // User declarations
  56. public: // User declarations
  57. String FTitle;
  58. __fastcall TFRAMEChart(TComponent* Owner);
  59. void __fastcall SetChartLegend(String ACategory, String AValue);
  60. void __fastcall ChartValueDisplay(bool FDisplayValue);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TFRAMEChart *FRAMEChart;
  64. //---------------------------------------------------------------------------
  65. #endif