FRAME_WCamStateListF.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. //---------------------------------------------------------------------------
  2. #ifndef FRAME_WCamStateListFH
  3. #define FRAME_WCamStateListFH
  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 <ADODB.hpp>
  12. #include <DB.hpp>
  13. //---------------------------------------------------------------------------
  14. #include "cxButtons.hpp"
  15. #include "cxCalc.hpp"
  16. #include "cxCheckBox.hpp"
  17. #include "cxClasses.hpp"
  18. #include "cxContainer.hpp"
  19. #include "cxControls.hpp"
  20. #include "cxCustomData.hpp"
  21. #include "cxData.hpp"
  22. #include "cxDataStorage.hpp"
  23. #include "cxEdit.hpp"
  24. #include "cxFilter.hpp"
  25. #include "cxGraphics.hpp"
  26. #include "cxGrid.hpp"
  27. #include "cxGridBandedTableView.hpp"
  28. #include "cxGridCustomTableView.hpp"
  29. #include "cxGridCustomView.hpp"
  30. #include "cxGridLevel.hpp"
  31. #include "cxGridTableView.hpp"
  32. #include "cxLabel.hpp"
  33. #include "cxLookAndFeelPainters.hpp"
  34. #include "cxLookAndFeels.hpp"
  35. #include "cxSpinEdit.hpp"
  36. #include "cxStyles.hpp"
  37. #include "cxTextEdit.hpp"
  38. #include "dxSkinBlue.hpp"
  39. #include "dxSkinsCore.hpp"
  40. #include "dxSkinscxPCPainter.hpp"
  41. //---------------------------------------------------------------------------
  42. class TFRAMEWCamStateList : public TFrame
  43. {
  44. __published: // IDE-managed Components
  45. TPanel *PnlTop;
  46. TPanel *PnlBottom;
  47. TcxButton *BtnExlSave;
  48. TcxButton *BtnAllSelect;
  49. TcxButton *BtnReverse;
  50. TcxButton *BtnAllClear;
  51. TLabel *LblRecords;
  52. TLabel *LbDef;
  53. TcxGrid *CxList;
  54. TcxGridBandedTableView *TvList;
  55. TcxGridBandedColumn *Col01;
  56. TcxGridBandedColumn *Col02;
  57. TcxGridBandedColumn *Col03;
  58. TcxGridBandedColumn *Col04;
  59. TcxGridBandedColumn *Col05;
  60. TcxGridBandedColumn *Col06;
  61. TcxGridBandedColumn *Col07;
  62. TcxGridBandedColumn *Col08;
  63. TcxGridBandedColumn *Col09;
  64. TcxGridBandedColumn *Col10;
  65. TcxGridBandedColumn *Col11;
  66. TcxGridBandedColumn *Col12;
  67. TcxGridBandedColumn *Col13;
  68. TcxGridBandedColumn *Col14;
  69. TcxGridBandedColumn *Col15;
  70. TcxGridBandedColumn *Col16;
  71. TcxGridBandedColumn *Col17;
  72. TcxGridBandedColumn *Col18;
  73. TcxGridBandedColumn *Col19;
  74. TcxGridBandedColumn *Col20;
  75. TcxGridBandedColumn *Col21;
  76. TcxGridBandedColumn *Col22;
  77. TcxGridBandedColumn *Col23;
  78. TcxGridBandedColumn *Col24;
  79. TcxGridBandedColumn *Col25;
  80. TcxGridBandedColumn *Col27;
  81. TcxGridBandedColumn *Col26;
  82. TcxGridBandedColumn *Col99;
  83. TcxGridBandedColumn *Col28;
  84. TcxGridBandedColumn *Col29;
  85. TcxGridBandedColumn *Col30;
  86. TcxGridLevel *GlList;
  87. TcxGridBandedColumn *ColumnSel;
  88. TcxGridBandedColumn *Col31;
  89. TcxGridBandedColumn *Col32;
  90. TcxGridBandedColumn *Col33;
  91. TcxLabel *lblTitle;
  92. void __fastcall BtnAllSelectClick(TObject *Sender);
  93. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  94. void __fastcall BtnExlSaveClick(TObject *Sender);
  95. void __fastcall Col10CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  96. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  97. private: // User declarations
  98. TcxDataController *m_pGDC;
  99. public:
  100. String FTitle;
  101. public: // User declarations
  102. __fastcall TFRAMEWCamStateList(TComponent* Owner);
  103. void __fastcall OnCloseQuery(bool &CanClose);
  104. void __fastcall UpdateList();
  105. void __fastcall RefreshStatus();
  106. int __fastcall GetSelIds(String &ALinkIds);
  107. int __fastcall GetSelIds(TStringList *AStringList);
  108. };
  109. //---------------------------------------------------------------------------
  110. //extern PACKAGE TFRAMEWCamStateList *FRAMEWCamStateList;
  111. //---------------------------------------------------------------------------
  112. #endif