VMSM210MF.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. //---------------------------------------------------------------------------
  2. #ifndef VMSM210MFH
  3. #define VMSM210MFH
  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. #include <Dialogs.hpp>
  20. #include <ExtDlgs.hpp>
  21. #include "cxButtons.hpp"
  22. #include "cxClasses.hpp"
  23. #include "cxContainer.hpp"
  24. #include "cxControls.hpp"
  25. #include "cxCustomData.hpp"
  26. #include "cxData.hpp"
  27. #include "cxDataStorage.hpp"
  28. #include "cxEdit.hpp"
  29. #include "cxFilter.hpp"
  30. #include "cxGraphics.hpp"
  31. #include "cxGrid.hpp"
  32. #include "cxGridCustomTableView.hpp"
  33. #include "cxGridCustomView.hpp"
  34. #include "cxGridLevel.hpp"
  35. #include "cxGridTableView.hpp"
  36. #include "cxGroupBox.hpp"
  37. #include "cxLabel.hpp"
  38. #include "cxLookAndFeelPainters.hpp"
  39. #include "cxLookAndFeels.hpp"
  40. #include "cxSplitter.hpp"
  41. #include "cxStyles.hpp"
  42. #include "cxTextEdit.hpp"
  43. #include "dxSkinBlack.hpp"
  44. #include "dxSkinBlue.hpp"
  45. #include "dxSkinCaramel.hpp"
  46. #include "dxSkinCoffee.hpp"
  47. #include "dxSkinDarkRoom.hpp"
  48. #include "dxSkinDarkSide.hpp"
  49. #include "dxSkinFoggy.hpp"
  50. #include "dxSkinGlassOceans.hpp"
  51. #include "dxSkiniMaginary.hpp"
  52. #include "dxSkinLilian.hpp"
  53. #include "dxSkinLiquidSky.hpp"
  54. #include "dxSkinLondonLiquidSky.hpp"
  55. #include "dxSkinMcSkin.hpp"
  56. #include "dxSkinMoneyTwins.hpp"
  57. #include "dxSkinOffice2007Black.hpp"
  58. #include "dxSkinOffice2007Blue.hpp"
  59. #include "dxSkinOffice2007Green.hpp"
  60. #include "dxSkinOffice2007Pink.hpp"
  61. #include "dxSkinOffice2007Silver.hpp"
  62. #include "dxSkinOffice2010Black.hpp"
  63. #include "dxSkinOffice2010Blue.hpp"
  64. #include "dxSkinOffice2010Silver.hpp"
  65. #include "dxSkinsCore.hpp"
  66. #include "dxSkinscxPCPainter.hpp"
  67. #include "dxSkinSeven.hpp"
  68. #include "dxSkinSharp.hpp"
  69. #include "dxSkinSilver.hpp"
  70. #include "dxSkinStardust.hpp"
  71. #include "FRAME_VmsIfscListF.h"
  72. #include "FRAME_VmsListF.h"
  73. #include "cxDropDownEdit.hpp"
  74. //---------------------------------------------------------------------------
  75. class TVMSM210M : public TForm
  76. {
  77. __published: // IDE-managed Components
  78. TTimer *TmrShow;
  79. TShape *ShpTitle;
  80. TcxButton *BtnClose;
  81. TLabel *LblCaption;
  82. TShape *ShpList;
  83. TEdit *EdFocus;
  84. TPanel *PnlBack;
  85. TPanel *PnlLeft;
  86. TcxSplitter *cxSplitter1;
  87. TcxGroupBox *cxGroupBox3;
  88. TFRAMEVmsList *FRAMEVmsList1;
  89. TPanel *Panel1;
  90. TPanel *PnlMenu;
  91. TcxButton *BtnEdit;
  92. TcxButton *BtnInsert;
  93. TcxButton *BtnDelete;
  94. TcxButton *BtnSave;
  95. TPanel *Panel2;
  96. TPanel *Panel3;
  97. TcxSplitter *cxSplitter2;
  98. TPanel *PnlCmd;
  99. TcxGroupBox *cxGroupBox1;
  100. TcxGroupBox *cxGroupBox2;
  101. TFRAMEVmsIfscList *FRAMEVmsIfscList1;
  102. TcxButton *BtnUp;
  103. TcxButton *BtnDown;
  104. TcxButton *BtnListAdd;
  105. TcxButton *BtnListDelete;
  106. TcxGrid *CxLink;
  107. TcxGridTableView *TvLink;
  108. TcxGridColumn *ColLink1;
  109. TcxGridColumn *ColLink2;
  110. TcxGridColumn *ColLink3;
  111. TcxGridColumn *ColLink4;
  112. TcxGridColumn *ColLink5;
  113. TcxGridColumn *ColLink6;
  114. TcxGridLevel *GlLink;
  115. TcxTextEdit *EdId;
  116. TcxTextEdit *EdNmbr;
  117. TcxLabel *cxLabel11;
  118. TcxLabel *lblText1;
  119. TcxLabel *lblText2;
  120. TcxLabel *lblText3;
  121. TcxGridColumn *ColLink7;
  122. TcxGridColumn *ColLink8;
  123. TcxGridColumn *ColLink9;
  124. TPanel *Panel7;
  125. TLabel *Label1;
  126. TcxTextEdit *EdCngsSpd;
  127. TcxButton *BtnSaveCngsSpd;
  128. void __fastcall FormShow(TObject *Sender);
  129. void __fastcall TmrShowTimer(TObject *Sender);
  130. void __fastcall BtnCloseClick(TObject *Sender);
  131. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  132. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  133. void __fastcall BtnEditClick(TObject *Sender);
  134. void __fastcall BtnSaveClick(TObject *Sender);
  135. void __fastcall FRAMEVmsList1TvListCellDblClick(TcxCustomGridTableView *Sender,
  136. TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
  137. TShiftState AShift, bool &AHandled);
  138. void __fastcall BtnListAddClick(TObject *Sender);
  139. void __fastcall BtnListDeleteClick(TObject *Sender);
  140. void __fastcall FRAMEVmsList1TvListFocusedRecordChanged(TcxCustomGridTableView *Sender,
  141. TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord,
  142. bool ANewItemRecordFocusingChanged);
  143. void __fastcall EdCngsSpdKeyPress(TObject *Sender, wchar_t &Key);
  144. void __fastcall BtnSaveCngsSpdClick(TObject *Sender);
  145. void __fastcall ColLink7CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  146. bool &ADone);
  147. void __fastcall ColLink8CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
  148. bool &ADone);
  149. private: // User declarations
  150. void __fastcall CommClose();
  151. TcxDataController *m_pGDC;
  152. String FTitle;
  153. bool FUpdate;
  154. bool FNewDb;
  155. bool EditMode;
  156. public:
  157. public: // User declarations
  158. __fastcall TVMSM210M(TComponent* Owner);
  159. void __fastcall FormInit();
  160. void __fastcall DisplayInfo(TVmsCtlr* AObj);
  161. void __fastcall UpdateIfscRltnSeq();
  162. bool __fastcall FindIfscRltnInfo(String AIfscId);
  163. void __fastcall ChangeEditMode(int AEdit);
  164. };
  165. //---------------------------------------------------------------------------
  166. extern PACKAGE TVMSM210M *VMSM210M;
  167. //---------------------------------------------------------------------------
  168. #endif