//--------------------------------------------------------------------------- #ifndef VMS04002FH #define VMS04002FH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "PlugInFormF.h" #include #include #include #include #include #include #include "cxButtons.hpp" #include "cxClasses.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxDBData.hpp" #include "cxEdit.hpp" #include "cxFilter.hpp" #include "cxGraphics.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridDBTableView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxGroupBox.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxStyles.hpp" #include "cxTextEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" class PLUGIN_LIB __stdcall TVMS04002 : public TPlugInForm { __published: // IDE-managed Components TTimer *TmrShow; TShape *ShpTitle; TcxButton *BtnSearch; TcxButton *BtnClose; TLabel *LblCaption; TShape *ShpList; TcxGrid *CxList; TcxGridDBTableView *TvList; TcxGridDBColumn *ColImageId; TcxGridDBColumn *TvListDBColumn3; TcxGridLevel *GlList; TADOQuery *ADO; TDataSource *DS; TcxGridDBColumn *TvListColumn1; TcxGridDBColumn *TvListColumn2; TcxGridDBColumn *ColVmsId; TcxGridDBColumn *TvListColumn7; TEdit *EdFocus; TcxGroupBox *cxGroupBox2; TPanel *PnlInfo2; TImage *ImgPreView; TcxGridDBColumn *ColTp; TcxButton *BtnSelImage; void __fastcall FormCreate(TObject *Sender); void __fastcall FormShow(TObject *Sender); void __fastcall FormActivate(TObject *Sender); void __fastcall FormDeactivate(TObject *Sender); void __fastcall FormDestroy(TObject *Sender); void __fastcall FormHide(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall BtnSearchClick(TObject *Sender); void __fastcall BtnCloseClick(TObject *Sender); void __fastcall BtnSelImageClick(TObject *Sender); void __fastcall TvListFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged); private: // User declarations void __fastcall CommClose(); public: String m_sImageKind; bool m_bSelected; String m_sImageId; String m_sImageName; String m_sImageDesc; String m_sVmsId; int m_nImageSize; public: // User declarations __fastcall TVMS04002(TComponent* Owner); void __fastcall LoadLocalSkin(); bool __fastcall Initialize(); void __fastcall FormInit(); void __fastcall FormClear(); void __fastcall RefreshData(); void __fastcall SelListData(); void __fastcall DisplayListData(); void __fastcall LoadVmsImage(String sID); }; //--------------------------------------------------------------------------- //extern PACKAGE TVMS04002 *VMS04002; //--------------------------------------------------------------------------- #endif