//--------------------------------------------------------------------------- #ifndef MasterDetailMultiDemoMainH #define MasterDetailMultiDemoMainH //--------------------------------------------------------------------------- #include #include #include #include #include "cxClasses.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxData.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 "cxStyles.hpp" #include #include #include #include #include #include "cxGridBandedTableView.hpp" #include "cxGridCardView.hpp" #include "cxGridDBBandedTableView.hpp" #include "cxGridDBCardView.hpp" #include "cxLookAndFeels.hpp" //--------------------------------------------------------------------------- class TMasterDetailMultiDemoMainForm : public TForm { __published: // IDE-managed Components TLabel *lbDescrip; TStatusBar *sbMain; TcxGrid *cxGrid; TcxGridDBCardView *cvPeople; TcxGridDBCardViewRow *cvPeopleName; TcxGridDBCardViewRow *cvPeoplePersonLineID; TcxGridDBCardViewRow *cvPeopleFIRSTNAME; TcxGridDBCardViewRow *cvPeopleSECONDNAME; TcxGridDBCardViewRow *cvPeopleNICKNAME; TcxGridDBCardViewRow *cvPeopleBIRTHNAME; TcxGridDBCardViewRow *cvPeopleDATEOFBIRTH; TcxGridDBCardViewRow *cvPeopleLOCATIONOFBIRTH; TcxGridDBCardViewRow *cvPeopleBIOGRAPHY; TcxGridDBCardViewRow *cvPeopleHOMEPAGE; TcxGridDBCardViewRow *cvPeopleID; TcxGridDBCardViewRow *cvPeopleFilmID; TcxGridDBCardViewRow *cvPeopleBIRTHCOUNTRY; TcxGridDBCardViewRow *cvPeopleGender; TcxGridDBTableView *tvCompanies; TcxGridDBColumn *tvCompaniesName; TcxGridDBColumn *tvCompaniesType; TcxGridDBColumn *tvCompaniesCountry; TcxGridDBColumn *tvCompaniesWebSite; TcxGridDBColumn *tvCompaniesID; TcxGridDBColumn *tvCompaniesFILMID; TcxGridDBCardView *cvPhotos; TcxGridDBCardViewRow *cvPhotosID; TcxGridDBCardViewRow *cvPhotosFILMID; TcxGridDBCardViewRow *cvPhotosSCREEN; TcxGridDBCardViewRow *cvPhotosICON; TcxGridDBBandedTableView *bvFilms; TcxGridDBBandedColumn *bvFilmsCAPTION; TcxGridDBBandedColumn *bvFilmsPHOTO; TcxGridDBBandedColumn *bvFilmsYEAR; TcxGridDBBandedColumn *bvFilmsRUNTIME; TcxGridDBBandedColumn *bvFilmsPLOTOUTLINE; TcxGridDBBandedColumn *bvFilmsWEBSITE; TMainMenu *mmMain; TMenuItem *miFile; TMenuItem *miExit; TMenuItem *miOptions; TMenuItem *miGenreTabPosition; TMenuItem *miTabPositionLeft; TMenuItem *miTabPositionTop; TMenuItem *miTabPositionNone; TMenuItem *miAbout; TcxLookAndFeelController *LookAndFeelController; void __fastcall miAboutClick(TObject *Sender); void __fastcall miExitClick(TObject *Sender); void __fastcall FormShow(TObject *Sender); void __fastcall miTabPositionClick(TObject *Sender); void __fastcall GridActiveTabChanged(TcxCustomGrid *Sender, TcxGridLevel *ALevel); private: // User declarations void CreateLevels(); public: // User declarations __fastcall TMasterDetailMultiDemoMainForm(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TMasterDetailMultiDemoMainForm *MasterDetailMultiDemoMainForm; //--------------------------------------------------------------------------- #endif