123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- //---------------------------------------------------------------------------
- #ifndef VMSMA10MFH
- #define VMSMA10MFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DB.hpp>
- #include <DBClient.hpp>
- #include <FMTBcd.hpp>
- #include <Provider.hpp>
- #include <SqlExpr.hpp>
- #include <Menus.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <ComCtrls.hpp>
- #include <ADODB.hpp>
- #include <Dialogs.hpp>
- #include <ExtDlgs.hpp>
- #include "cxButtons.hpp"
- #include "cxClasses.hpp"
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxCustomData.hpp"
- #include "cxData.hpp"
- #include "cxDataStorage.hpp"
- #include "cxEdit.hpp"
- #include "cxFilter.hpp"
- #include "cxGraphics.hpp"
- #include "cxGrid.hpp"
- #include "cxGridCustomTableView.hpp"
- #include "cxGridCustomView.hpp"
- #include "cxGridLevel.hpp"
- #include "cxGridTableView.hpp"
- #include "cxGroupBox.hpp"
- #include "cxLabel.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "cxSplitter.hpp"
- #include "cxStyles.hpp"
- #include "cxTextEdit.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinBlue.hpp"
- #include "dxSkinCaramel.hpp"
- #include "dxSkinCoffee.hpp"
- #include "dxSkinDarkRoom.hpp"
- #include "dxSkinDarkSide.hpp"
- #include "dxSkinFoggy.hpp"
- #include "dxSkinGlassOceans.hpp"
- #include "dxSkiniMaginary.hpp"
- #include "dxSkinLilian.hpp"
- #include "dxSkinLiquidSky.hpp"
- #include "dxSkinLondonLiquidSky.hpp"
- #include "dxSkinMcSkin.hpp"
- #include "dxSkinMoneyTwins.hpp"
- #include "dxSkinOffice2007Black.hpp"
- #include "dxSkinOffice2007Blue.hpp"
- #include "dxSkinOffice2007Green.hpp"
- #include "dxSkinOffice2007Pink.hpp"
- #include "dxSkinOffice2007Silver.hpp"
- #include "dxSkinOffice2010Black.hpp"
- #include "dxSkinOffice2010Blue.hpp"
- #include "dxSkinOffice2010Silver.hpp"
- #include "dxSkinsCore.hpp"
- #include "dxSkinscxPCPainter.hpp"
- #include "dxSkinSeven.hpp"
- #include "dxSkinSharp.hpp"
- #include "dxSkinSilver.hpp"
- #include "dxSkinStardust.hpp"
- #include "FRAME_VmsEvspListF.h"
- #include "FRAME_VmsListF.h"
- #include "cxDropDownEdit.hpp"
- //---------------------------------------------------------------------------
- class TVMSMA10M : public TForm
- {
- __published: // IDE-managed Components
- TTimer *TmrShow;
- TShape *ShpTitle;
- TcxButton *BtnClose;
- TLabel *LblCaption;
- TShape *ShpList;
- TEdit *EdFocus;
- TPanel *PnlBack;
- TPanel *PnlLeft;
- TcxSplitter *cxSplitter1;
- TcxGroupBox *cxGroupBox3;
- TFRAMEVmsList *FRAMEVmsList1;
- TPanel *Panel1;
- TPanel *PnlMenu;
- TcxButton *BtnEdit;
- TcxButton *BtnInsert;
- TcxButton *BtnDelete;
- TcxButton *BtnSave;
- TPanel *Panel2;
- TPanel *Panel3;
- TcxSplitter *cxSplitter2;
- TPanel *PnlCmd;
- TcxGroupBox *cxGroupBox1;
- TcxGroupBox *cxGroupBox2;
- TFRAMEVmsEvspList *FRAMEVmsEvspList1;
- TcxButton *BtnUp;
- TcxButton *BtnDown;
- TcxButton *BtnListAdd;
- TcxButton *BtnListDelete;
- TcxGrid *CxLink;
- TcxGridTableView *TvLink;
- TcxGridColumn *ColLink1;
- TcxGridColumn *ColLink2;
- TcxGridColumn *ColLink3;
- TcxGridColumn *ColLink4;
- TcxGridColumn *ColLink5;
- TcxGridColumn *ColLink6;
- TcxGridLevel *GlLink;
- TcxTextEdit *EdId;
- TcxTextEdit *EdNmbr;
- TcxLabel *cxLabel11;
- TcxLabel *lblText1;
- TcxLabel *lblText2;
- TcxLabel *lblText3;
- TcxGridColumn *ColLink7;
- TcxGridColumn *ColLink8;
- TcxGridColumn *ColLink9;
- TPanel *Panel7;
- TLabel *Label1;
- TcxTextEdit *EdCngsSpd;
- TcxButton *BtnSaveCngsSpd;
- void __fastcall FormShow(TObject *Sender);
- void __fastcall TmrShowTimer(TObject *Sender);
- void __fastcall BtnCloseClick(TObject *Sender);
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
- void __fastcall BtnEditClick(TObject *Sender);
- void __fastcall BtnSaveClick(TObject *Sender);
- void __fastcall FRAMEVmsList1TvListCellDblClick(TcxCustomGridTableView *Sender,
- TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
- TShiftState AShift, bool &AHandled);
- void __fastcall BtnListAddClick(TObject *Sender);
- void __fastcall BtnListDeleteClick(TObject *Sender);
- void __fastcall FRAMEVmsList1TvListFocusedRecordChanged(TcxCustomGridTableView *Sender,
- TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord,
- bool ANewItemRecordFocusingChanged);
- void __fastcall EdCngsSpdKeyPress(TObject *Sender, wchar_t &Key);
- void __fastcall BtnSaveCngsSpdClick(TObject *Sender);
- void __fastcall ColLink7CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
- bool &ADone);
- void __fastcall ColLink8CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
- bool &ADone);
- private: // User declarations
- void __fastcall CommClose();
- TcxDataController *m_pGDC;
- String FTitle;
- bool FUpdate;
- bool FNewDb;
- bool EditMode;
- public:
- public: // User declarations
- __fastcall TVMSMA10M(TComponent* Owner);
- void __fastcall FormInit();
- void __fastcall DisplayInfo(TVmsCtlr* AObj);
- void __fastcall UpdateEvspRltnSeq();
- bool __fastcall FindEvspRltnInfo(String AIfscId);
- void __fastcall ChangeEditMode(int AEdit);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TVMSMA10M *VMSMA10M;
- //---------------------------------------------------------------------------
- #endif
|