FRAME_VmsStateListF.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. //---------------------------------------------------------------------------
  2. #ifndef FRAME_VmsStateListFH
  3. #define FRAME_VmsStateListFH
  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 "CDSVmsCtlrF.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 "cxGridCustomTableView.hpp"
  30. #include "cxGridCustomView.hpp"
  31. #include "cxGridLevel.hpp"
  32. #include "cxGridTableView.hpp"
  33. #include "cxLookAndFeelPainters.hpp"
  34. #include "cxLookAndFeels.hpp"
  35. #include "cxStyles.hpp"
  36. #include "cxTextEdit.hpp"
  37. #include "dxSkinBlack.hpp"
  38. #include "dxSkinBlue.hpp"
  39. #include "dxSkinCaramel.hpp"
  40. #include "dxSkinCoffee.hpp"
  41. #include "dxSkinDarkRoom.hpp"
  42. #include "dxSkinDarkSide.hpp"
  43. #include "dxSkinFoggy.hpp"
  44. #include "dxSkinGlassOceans.hpp"
  45. #include "dxSkiniMaginary.hpp"
  46. #include "dxSkinLilian.hpp"
  47. #include "dxSkinLiquidSky.hpp"
  48. #include "dxSkinLondonLiquidSky.hpp"
  49. #include "dxSkinMcSkin.hpp"
  50. #include "dxSkinMoneyTwins.hpp"
  51. #include "dxSkinOffice2007Black.hpp"
  52. #include "dxSkinOffice2007Blue.hpp"
  53. #include "dxSkinOffice2007Green.hpp"
  54. #include "dxSkinOffice2007Pink.hpp"
  55. #include "dxSkinOffice2007Silver.hpp"
  56. #include "dxSkinOffice2010Black.hpp"
  57. #include "dxSkinOffice2010Blue.hpp"
  58. #include "dxSkinOffice2010Silver.hpp"
  59. #include "dxSkinsCore.hpp"
  60. #include "dxSkinscxPCPainter.hpp"
  61. #include "dxSkinSeven.hpp"
  62. #include "dxSkinSharp.hpp"
  63. #include "dxSkinSilver.hpp"
  64. #include "dxSkinStardust.hpp"
  65. #include "cxGridBandedTableView.hpp"
  66. #include "cxSpinEdit.hpp"
  67. #include "cxLabel.hpp"
  68. //---------------------------------------------------------------------------
  69. class TFRAMEVmsStateList : public TFrame
  70. {
  71. __published: // IDE-managed Components
  72. TPanel *PnlTop;
  73. TPanel *PnlBottom;
  74. TcxButton *BtnExlSave;
  75. TcxButton *BtnAllSelect;
  76. TcxButton *BtnReverse;
  77. TcxButton *BtnAllClear;
  78. TLabel *LblRecords;
  79. TLabel *LbDef;
  80. TcxGrid *CxList;
  81. TcxGridBandedTableView *TvList;
  82. TcxGridBandedColumn *Col01;
  83. TcxGridBandedColumn *Col02;
  84. TcxGridBandedColumn *Col03;
  85. TcxGridBandedColumn *Col04;
  86. TcxGridBandedColumn *Col05;
  87. TcxGridBandedColumn *Col06;
  88. TcxGridBandedColumn *Col07;
  89. TcxGridBandedColumn *Col08;
  90. TcxGridBandedColumn *Col09;
  91. TcxGridBandedColumn *Col10;
  92. TcxGridBandedColumn *Col11;
  93. TcxGridBandedColumn *Col12;
  94. TcxGridBandedColumn *Col13;
  95. TcxGridBandedColumn *Col14;
  96. TcxGridBandedColumn *Col15;
  97. TcxGridBandedColumn *Col16;
  98. TcxGridBandedColumn *Col17;
  99. TcxGridBandedColumn *Col18;
  100. TcxGridBandedColumn *Col19;
  101. TcxGridBandedColumn *Col20;
  102. TcxGridBandedColumn *Col21;
  103. TcxGridBandedColumn *Col22;
  104. TcxGridBandedColumn *Col23;
  105. TcxGridBandedColumn *Col24;
  106. TcxGridBandedColumn *Col25;
  107. TcxGridBandedColumn *Col27;
  108. TcxGridBandedColumn *Col26;
  109. TcxGridBandedColumn *Col99;
  110. TcxGridBandedColumn *Col28;
  111. TcxGridBandedColumn *Col29;
  112. TcxGridBandedColumn *Col30;
  113. TcxGridLevel *GlList;
  114. TcxGridBandedColumn *ColumnSel;
  115. TcxGridBandedColumn *Col31;
  116. TcxGridBandedColumn *Col32;
  117. TcxGridBandedColumn *Col33;
  118. TcxLabel *lblTitle;
  119. TcxGridBandedColumn *Col34;
  120. void __fastcall BtnAllSelectClick(TObject *Sender);
  121. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  122. void __fastcall BtnExlSaveClick(TObject *Sender);
  123. void __fastcall Col06CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  124. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  125. void __fastcall Col07CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  126. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  127. void __fastcall Col10CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  128. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  129. void __fastcall Col12CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
  130. TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
  131. void __fastcall Col34CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  132. bool &ADone);
  133. void __fastcall Col17CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  134. bool &ADone);
  135. private: // User declarations
  136. TcxDataController *m_pGDC;
  137. public:
  138. String FTitle;
  139. public: // User declarations
  140. __fastcall TFRAMEVmsStateList(TComponent* Owner);
  141. void __fastcall OnCloseQuery(bool &CanClose);
  142. void __fastcall UpdateList();
  143. void __fastcall RefreshStatus();
  144. int __fastcall GetSelIds(String &ALinkIds);
  145. int __fastcall GetSelIds(TStringList *AStringList);
  146. };
  147. //---------------------------------------------------------------------------
  148. //extern PACKAGE TFRAMEVmsStateList *FRAMEVmsStateList;
  149. //---------------------------------------------------------------------------
  150. #endif