//--------------------------------------------------------------------------- #ifndef FRAME_WCamStateListFH #define FRAME_WCamStateListFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "CDSCodeF.h" #include "CDSWCamCtlrF.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 "cxGridBandedTableView.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxSpinEdit.hpp" #include "cxStyles.hpp" #include "cxTextEdit.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinBlack.hpp" #include "dxSkinMcSkin.hpp" #include "cxDropDownEdit.hpp" #include "cxMaskEdit.hpp" //--------------------------------------------------------------------------- class TFRAMEWCamStateList : 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; TcxComboBox *CbType; void __fastcall BtnAllSelectClick(TObject *Sender); void __fastcall TvListDataControllerFilterChanged(TObject *Sender); void __fastcall BtnExlSaveClick(TObject *Sender); void __fastcall Col10CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); private: // User declarations TcxDataController *m_pGDC; public: String FTitle; public: // User declarations __fastcall TFRAMEWCamStateList(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 TFRAMEWCamStateList *FRAMEWCamStateList; //--------------------------------------------------------------------------- #endif