IDB0010MF.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. //---------------------------------------------------------------------------
  2. #ifndef IDB0010MFH
  3. #define IDB0010MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <FMTBcd.hpp>
  12. #include <Provider.hpp>
  13. #include <SqlExpr.hpp>
  14. #include <Menus.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Graphics.hpp>
  17. #include <ComCtrls.hpp>
  18. #include <ADODB.hpp>
  19. //---------------------------------------------------------------------------
  20. #include "CDSNodeF.h"
  21. #include "CDSCodeF.h"
  22. #include "cxButtons.hpp"
  23. #include "cxCalc.hpp"
  24. #include "cxCheckBox.hpp"
  25. #include "cxClasses.hpp"
  26. #include "cxContainer.hpp"
  27. #include "cxControls.hpp"
  28. #include "cxCustomData.hpp"
  29. #include "cxData.hpp"
  30. #include "cxDataStorage.hpp"
  31. #include "cxEdit.hpp"
  32. #include "cxFilter.hpp"
  33. #include "cxGraphics.hpp"
  34. #include "cxGrid.hpp"
  35. #include "cxGridCustomTableView.hpp"
  36. #include "cxGridCustomView.hpp"
  37. #include "cxGridLevel.hpp"
  38. #include "cxGridTableView.hpp"
  39. #include "cxLabel.hpp"
  40. #include "cxLookAndFeelPainters.hpp"
  41. #include "cxLookAndFeels.hpp"
  42. #include "cxStyles.hpp"
  43. #include "cxTextEdit.hpp"
  44. #include "dxSkinBlack.hpp"
  45. #include "dxSkinBlue.hpp"
  46. #include "dxSkinsCore.hpp"
  47. #include "dxSkinscxPCPainter.hpp"
  48. class TIDB0010M : public TForm
  49. {
  50. __published: // IDE-managed Components
  51. TTimer *TmrShow;
  52. TShape *ShpTitle;
  53. TcxButton *BtnSearch;
  54. TcxButton *BtnClose;
  55. TLabel *LblCaption;
  56. TShape *ShpList;
  57. TEdit *EdFocus;
  58. TcxCheckBox *ChkExpand;
  59. TcxGrid *CxList;
  60. TcxGridTableView *TvList;
  61. TcxGridColumn *Column00;
  62. TcxGridColumn *Column01;
  63. TcxGridColumn *Column02;
  64. TcxGridColumn *Column03;
  65. TcxGridColumn *Column04;
  66. TcxGridColumn *Column05;
  67. TcxGridColumn *Column06;
  68. TcxGridColumn *Column07;
  69. TcxGridColumn *Column08;
  70. TcxGridLevel *GlList;
  71. TcxButton *BtnEdit;
  72. TcxButton *BtnInsert;
  73. TcxButton *BtnDelete;
  74. TcxButton *BtnApply;
  75. TcxCheckBox *ChkAutoWidth;
  76. TcxButton *BtnBestFit;
  77. TcxLabel *LblRecords;
  78. TcxButton *BtnExlSave;
  79. TcxLabel *lblNoInfo;
  80. TcxLabel *lblInfo;
  81. void __fastcall FormShow(TObject *Sender);
  82. void __fastcall TmrShowTimer(TObject *Sender);
  83. void __fastcall BtnSearchClick(TObject *Sender);
  84. void __fastcall BtnCloseClick(TObject *Sender);
  85. void __fastcall ChkExpandClick(TObject *Sender);
  86. void __fastcall BtnExlSaveClick(TObject *Sender);
  87. void __fastcall BtnInsertClick(TObject *Sender);
  88. void __fastcall BtnEditClick(TObject *Sender);
  89. void __fastcall BtnDeleteClick(TObject *Sender);
  90. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  91. void __fastcall BtnApplyClick(TObject *Sender);
  92. void __fastcall ChkAutoWidthPropertiesChange(TObject *Sender);
  93. void __fastcall BtnBestFitClick(TObject *Sender);
  94. void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
  95. TShiftState AShift, bool &AHandled);
  96. void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
  97. private: // User declarations
  98. void __fastcall CommClose();
  99. TcxDataController *m_pGDC;
  100. public:
  101. TItsCode *FCodeTurnP;
  102. TItsCode *FCodeNodeT;
  103. public: // User declarations
  104. __fastcall TIDB0010M(TComponent* Owner);
  105. void __fastcall FormInit();
  106. void __fastcall RefreshData();
  107. void __fastcall SelListData();
  108. void __fastcall DisplayListData();
  109. };
  110. //---------------------------------------------------------------------------
  111. extern PACKAGE TIDB0010M *IDB0010M;
  112. //---------------------------------------------------------------------------
  113. #endif