123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- //---------------------------------------------------------------------------
- #ifndef FRAME_VmsStateListFH
- #define FRAME_VmsStateListFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- #include <Menus.hpp>
- #include <ADODB.hpp>
- #include <DB.hpp>
- //---------------------------------------------------------------------------
- #include "CDSCodeF.h"
- #include "CDSVmsCtlrF.h"
- #include "cxButtons.hpp"
- #include "cxCalc.hpp"
- #include "cxCheckBox.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 "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.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 "cxGridBandedTableView.hpp"
- #include "cxSpinEdit.hpp"
- #include "cxLabel.hpp"
- //---------------------------------------------------------------------------
- class TFRAMEVmsStateList : public TFrame
- {
- __published: // IDE-managed Components
- TPanel *PnlTop;
- TPanel *PnlBottom;
- TcxButton *BtnExlSave;
- TcxButton *BtnAllSelect;
- TcxButton *BtnReverse;
- TcxButton *BtnAllClear;
- TLabel *LblRecords;
- TLabel *LbDef;
- TcxGrid *CxList;
- TcxGridBandedTableView *TvList;
- TcxGridBandedColumn *Col01;
- TcxGridBandedColumn *Col02;
- TcxGridBandedColumn *Col03;
- TcxGridBandedColumn *Col04;
- TcxGridBandedColumn *Col05;
- TcxGridBandedColumn *Col06;
- TcxGridBandedColumn *Col07;
- TcxGridBandedColumn *Col08;
- TcxGridBandedColumn *Col09;
- TcxGridBandedColumn *Col10;
- TcxGridBandedColumn *Col11;
- TcxGridBandedColumn *Col12;
- TcxGridBandedColumn *Col13;
- TcxGridBandedColumn *Col14;
- TcxGridBandedColumn *Col15;
- TcxGridBandedColumn *Col16;
- TcxGridBandedColumn *Col17;
- TcxGridBandedColumn *Col18;
- TcxGridBandedColumn *Col19;
- TcxGridBandedColumn *Col20;
- TcxGridBandedColumn *Col21;
- TcxGridBandedColumn *Col22;
- TcxGridBandedColumn *Col23;
- TcxGridBandedColumn *Col24;
- TcxGridBandedColumn *Col25;
- TcxGridBandedColumn *Col27;
- TcxGridBandedColumn *Col26;
- TcxGridBandedColumn *Col99;
- TcxGridBandedColumn *Col28;
- TcxGridBandedColumn *Col29;
- TcxGridBandedColumn *Col30;
- TcxGridLevel *GlList;
- TcxGridBandedColumn *ColumnSel;
- TcxGridBandedColumn *Col31;
- TcxGridBandedColumn *Col32;
- TcxGridBandedColumn *Col33;
- TcxLabel *lblTitle;
- TcxGridBandedColumn *Col34;
- void __fastcall BtnAllSelectClick(TObject *Sender);
- void __fastcall TvListDataControllerFilterChanged(TObject *Sender);
- void __fastcall BtnExlSaveClick(TObject *Sender);
- void __fastcall Col06CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
- TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
- void __fastcall Col07CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
- TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
- void __fastcall Col10CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
- TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
- void __fastcall Col12CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas,
- TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone);
- void __fastcall Col34CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
- bool &ADone);
- void __fastcall Col17CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
- bool &ADone);
- private: // User declarations
- TcxDataController *m_pGDC;
- public:
- String FTitle;
- public: // User declarations
- __fastcall TFRAMEVmsStateList(TComponent* Owner);
- void __fastcall OnCloseQuery(bool &CanClose);
- void __fastcall UpdateList();
- void __fastcall RefreshStatus();
- int __fastcall GetSelIds(String &ALinkIds);
- int __fastcall GetSelIds(TStringList *AStringList);
- };
- //---------------------------------------------------------------------------
- //extern PACKAGE TFRAMEVmsStateList *FRAMEVmsStateList;
- //---------------------------------------------------------------------------
- #endif
|