FRAME_WCamStateListF.h 3.9 KB

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