FRAME_ChartF.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. #include "cxDropDownEdit.hpp"
  36. #include "cxMaskEdit.hpp"
  37. #include "cxTextEdit.hpp"
  38. //---------------------------------------------------------------------------
  39. class TFRAMEChart : public TFrame
  40. {
  41. __published: // IDE-managed Components
  42. TcxGrid *CxChart;
  43. TcxGridChartView *TvChart;
  44. TcxGridLevel *GlChart;
  45. TcxCheckBox *ChkDisplayVal;
  46. TcxLabel *cxLabel2;
  47. TcxTrackBar *cxTrackBar1;
  48. TcxLabel *LblPage;
  49. TcxButton *BtnGraphSave;
  50. TcxLabel *lblAll;
  51. TcxLabel *lblImgSave;
  52. TcxLabel *lblSaveErr;
  53. TcxLabel *lblSaveOk;
  54. TcxLabel *LblOptionName;
  55. TcxComboBox *CbOption;
  56. TEdit *EdFocus;
  57. void __fastcall ChkDisplayValPropertiesChange(TObject *Sender);
  58. void __fastcall cxTrackBar1PropertiesChange(TObject *Sender);
  59. void __fastcall cxTrackBar1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  60. void __fastcall BtnGraphSaveClick(TObject *Sender);
  61. private: // User declarations
  62. public: // User declarations
  63. String FTitle;
  64. __fastcall TFRAMEChart(TComponent* Owner);
  65. void __fastcall SetChartLegend(String ACategory, String AValue);
  66. void __fastcall ChartValueDisplay(bool FDisplayValue);
  67. };
  68. //---------------------------------------------------------------------------
  69. extern PACKAGE TFRAMEChart *FRAMEChart;
  70. //---------------------------------------------------------------------------
  71. #endif