diff --git a/CPB/ReportFilter.cbproj b/CPB/ReportFilter.cbproj index ba50cc0..287c562 100644 --- a/CPB/ReportFilter.cbproj +++ b/CPB/ReportFilter.cbproj @@ -1,4 +1,4 @@ - + {78325D59-9C55-4DF5-9E88-7E84FAB72DB5} 20.3 @@ -87,7 +87,7 @@ $(BDSLIB)\$(PLATFORM)\release\$(LANGDIR);$(ILINK_TranslatedLibraryPath) CppVCLApplication System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) - rtl.lib;vcl.lib;dbrtl.lib;FireDAC.lib;FireDACCommonDriver.lib;FireDACCommon.lib;xmlrtl.lib;vclFireDAC.lib;vcldb.lib;vclwinx.lib;vclimg.lib;bindengine.lib;vclx.lib;cxLibraryRS29.lib;dxGDIPlusRS29.lib;dxCoreRS29.lib;dbexpress.lib;DbxCommonDriver.lib;vclie.lib;vcledge.lib;cxGridRS29.lib;cxExportRS29.lib;dxSpreadSheetCoreRS29.lib;dxComnRS29.lib;dxSpreadSheetRS29.lib;dxServerModeRS29.lib;dxReportsRS29.lib;dxPSCoreRS29.lib;dxPSdxPDFViewerLnkRS29.lib;dxPDFViewerRS29.lib;FireDACMSAccDriver.lib;FireDACCommonODBC.lib;dxmdsRS29.lib;dxSkinsCoreRS29.lib;FireDACSqliteDriver.lib + rtl.lib;vcl.lib;dbrtl.lib;FireDAC.lib;FireDACCommonDriver.lib;FireDACCommon.lib;xmlrtl.lib;vclFireDAC.lib;vcldb.lib;vclwinx.lib;vclimg.lib;bindengine.lib;vclx.lib;dbexpress.lib;DbxCommonDriver.lib;vclie.lib;vcledge.lib;FireDACMSAccDriver.lib;FireDACCommonODBC.lib;FireDACSqliteDriver.lib;dxCoreRS37.lib;cxLibraryRS37.lib;dxGDIPlusRS37.lib;cxGridRS37.lib;cxExportRS37.lib;dxSpreadSheetCoreRS37.lib;dxComnRS37.lib;dxSpreadSheetRS37.lib;dxServerModeRS37.lib;dxmdsRS37.lib;dxSkinsCoreRS37.lib;dxBackendRS37.lib;dxPSCoreRS37.lib;dxPSdxPDFViewerLnkRS37.lib;dxPDFViewerRS37.lib;dxReportsRS37.lib <_TCHARMapping>wchar_t true $(BDS)\bin\cbuilder_PROJECTICON.ico @@ -103,10 +103,11 @@ Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 1033 $(BDS)\bin\default_app.manifest ReportFilterPCH1.h + ReportFilter_Icon.ico + none adortl;appanalytics;bcbie;bcbsmp;bindcomp;bindcompdbx;bindcompfmx;bindcompvcl;bindcompvclsmp;bindcompvclwinx;bindengine;CloudService;CustomIPTransport;cxADOAdaptersRS29;cxExportRS29;cxFireDACAdaptersRS29;cxGridEMFRS29;cxGridRS29;cxIBXAdaptersRS29;cxLibraryRS29;cxPivotGridChartRS29;cxPivotGridOLAPRS29;cxPivotGridRS29;cxSchedulerGridRS29;cxSchedulerRibbonStyleEventEditorRS29;cxSchedulerRS29;cxSchedulerTreeBrowserRS29;cxSchedulerWebServiceStorageRS29;cxTreeListdxBarPopupMenuRS29;cxTreeListRS29;cxVerticalGridRS29;DataSnapClient;DataSnapCommon;DataSnapConnectors;DatasnapConnectorsFreePascal;DataSnapFireDAC;DataSnapIndy10ServerTransport;DataSnapNativeClient;DataSnapProviderClient;DataSnapServer;DataSnapServerMidas;dbexpress;dbrtl;dbxcds;DbxClientDriver;DbxCommonDriver;DBXDb2Driver;DBXFirebirdDriver;DBXInformixDriver;DBXInterBaseDriver;DBXMSSQLDriver;DBXMySQLDriver;DBXOdbcDriver;DBXOracleDriver;DBXSqliteDriver;DBXSybaseASADriver;DBXSybaseASEDriver;dsnap;dsnapcon;dsnapxml;dxADOEMFRS29;dxADOServerModeRS29;dxBarDBNavRS29;dxBarExtDBItemsRS29;dxBarExtItemsRS29;dxBarRS29;dxChartControlRS29;dxCloudServiceLibraryRS29;dxComnRS29;dxCoreRS29;dxdborRS29;dxdbtrRS29;dxDBXServerModeRS29;dxDockingRS29;dxEMFRS29;dxFireDACEMFRS29;dxFireDACServerModeRS29;dxFlowChartAdvancedCustomizeFormRS29;dxFlowChartDesignerRS29;dxFlowChartLayoutsRS29;dxFlowChartRS29;dxGanttControlRS29;dxGaugeControlRS29;dxGDIPlusRS29;dxHttpIndyRequestRS29;dxMapControlRS29;dxmdsRS29;dxNavBarRS29;dxOrgChartAdvancedCustomizeFormRS29;dxorgcRS29;dxPDFViewerRS29;dxPSCoreRS29;dxPScxCommonRS29;dxPScxExtCommonRS29;dxPScxGridLnkRS29;dxPScxPCProdRS29;dxPScxPivotGridLnkRS29;dxPScxSchedulerLnkRS29;dxPScxTLLnkRS29;dxPScxVGridLnkRS29;dxPSDBTeeChartRS29;dxPSdxChartControlLnkRS29;dxPSdxDBOCLnkRS29;dxPSdxDBTVLnkRS29;dxPSdxFCLnkRS29;dxPSdxGaugeControlLnkRS29;dxPSdxLCLnkRS29;dxPSdxMapControlLnkRS29;dxPSdxOCLnkRS29;dxPSdxPDFViewerLnkRS29;dxPSdxSpreadSheetLnkRS29;dxPSLnksRS29;dxPsPrVwAdvRS29;dxPSPrVwRibbonRS29;dxPSRichEditControlLnkRS29;dxPSTeeChartRS29;dxReportsRS29;dxRibbonCustomizationFormRS29;dxRibbonRS29;dxRichEditControlCoreRS29;dxRichEditControlRS29;dxRichEditCoreRS29;dxRichEditDocumentModelRS29;dxServerModeRS29;dxSkinsCoreRS29;dxSpellCheckerRS29;dxSpreadSheetConditionalFormattingDialogsRS29;dxSpreadSheetCoreConditionalFormattingDialogsRS29;dxSpreadSheetCoreRS29;dxSpreadSheetReportDesignerRS29;dxSpreadSheetRS29;dxTabbedMDIRS29;dxTileControlRS29;dxtrmdRS29;dxWizardControlRS29;emsclient;emsclientfiredac;emsedge;emshosting;emsserverresource;FireDAC;FireDACADSDriver;FireDACASADriver;FireDACCommon;FireDACCommonDriver;FireDACCommonODBC;FireDACDb2Driver;FireDACDBXDriver;FireDACDSDriver;FireDACIBDriver;FireDACInfxDriver;FireDACMongoDBDriver;FireDACMSAccDriver;FireDACMSSQLDriver;FireDACMySQLDriver;FireDACODBCDriver;FireDACOracleDriver;FireDACPgDriver;FireDACSqliteDriver;FireDACTDataDriver;fmx;fmxase;fmxdae;fmxFireDAC;fmxobj;FMXTee;FmxTeeUI;ibmonitor;ibxbindings;ibxpress;IndyCore;IndyIPClient;IndyIPCommon;IndyIPServer;IndyProtocols;IndySystem;inet;inetdb;inetdbxpress;inetstn;RESTBackendComponents;RESTComponents;rtl;Skia;soapmidas;soaprtl;soapserver;Tee;TeeDB;TeeUI;tethering;vcl;vclactnband;vcldb;vcldsnap;vcledge;vclFireDAC;vclib;vclie;vclimg;VCLRESTComponents;VclSmp;vcltouch;vclwinx;vclx;xmlrtl;$(PackageImports) @@ -114,23 +115,25 @@ Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 1033 $(BDS)\bin\default_app.manifest ReportFilterPCH1.h + ReportFilter_Icon.ico + none adortl;bindcomp;bindcompdbx;bindcompfmx;bindcompvcl;bindcompvclsmp;bindcompvclwinx;bindengine;CloudService;CustomIPTransport;cxADOAdaptersRS29;cxExportRS29;cxFireDACAdaptersRS29;cxGridEMFRS29;cxGridRS29;cxIBXAdaptersRS29;cxLibraryRS29;cxPivotGridChartRS29;cxPivotGridOLAPRS29;cxPivotGridRS29;cxSchedulerGridRS29;cxSchedulerRibbonStyleEventEditorRS29;cxSchedulerRS29;cxSchedulerTreeBrowserRS29;cxSchedulerWebServiceStorageRS29;cxTreeListdxBarPopupMenuRS29;cxTreeListRS29;cxVerticalGridRS29;DataSnapClient;DataSnapCommon;DataSnapConnectors;DatasnapConnectorsFreePascal;DataSnapFireDAC;DataSnapIndy10ServerTransport;DataSnapNativeClient;DataSnapProviderClient;DataSnapServer;DataSnapServerMidas;dbexpress;dbrtl;dbxcds;DbxClientDriver;DbxCommonDriver;DBXDb2Driver;DBXFirebirdDriver;DBXInformixDriver;DBXInterBaseDriver;DBXMSSQLDriver;DBXMySQLDriver;DBXOdbcDriver;DBXOracleDriver;DBXSqliteDriver;DBXSybaseASADriver;DBXSybaseASEDriver;dsnap;dsnapcon;dsnapxml;dxADOEMFRS29;dxADOServerModeRS29;dxBarDBNavRS29;dxBarExtDBItemsRS29;dxBarExtItemsRS29;dxBarRS29;dxChartControlRS29;dxCloudServiceLibraryRS29;dxComnRS29;dxCoreRS29;dxdborRS29;dxdbtrRS29;dxDBXServerModeRS29;dxDockingRS29;dxEMFRS29;dxFireDACEMFRS29;dxFireDACServerModeRS29;dxFlowChartAdvancedCustomizeFormRS29;dxFlowChartDesignerRS29;dxFlowChartLayoutsRS29;dxFlowChartRS29;dxGanttControlRS29;dxGaugeControlRS29;dxGDIPlusRS29;dxHttpIndyRequestRS29;dxMapControlRS29;dxmdsRS29;dxNavBarRS29;dxOrgChartAdvancedCustomizeFormRS29;dxorgcRS29;dxPDFViewerRS29;dxPSCoreRS29;dxPScxCommonRS29;dxPScxExtCommonRS29;dxPScxGridLnkRS29;dxPScxPCProdRS29;dxPScxPivotGridLnkRS29;dxPScxSchedulerLnkRS29;dxPScxTLLnkRS29;dxPScxVGridLnkRS29;dxPSDBTeeChartRS29;dxPSdxChartControlLnkRS29;dxPSdxDBOCLnkRS29;dxPSdxDBTVLnkRS29;dxPSdxFCLnkRS29;dxPSdxGaugeControlLnkRS29;dxPSdxLCLnkRS29;dxPSdxMapControlLnkRS29;dxPSdxOCLnkRS29;dxPSdxPDFViewerLnkRS29;dxPSdxSpreadSheetLnkRS29;dxPSLnksRS29;dxPsPrVwAdvRS29;dxPSPrVwRibbonRS29;dxPSRichEditControlLnkRS29;dxPSTeeChartRS29;dxReportsRS29;dxRibbonCustomizationFormRS29;dxRibbonRS29;dxRichEditControlCoreRS29;dxRichEditControlRS29;dxRichEditCoreRS29;dxRichEditDocumentModelRS29;dxServerModeRS29;dxSkinsCoreRS29;dxSpellCheckerRS29;dxSpreadSheetConditionalFormattingDialogsRS29;dxSpreadSheetCoreConditionalFormattingDialogsRS29;dxSpreadSheetCoreRS29;dxSpreadSheetReportDesignerRS29;dxSpreadSheetRS29;dxTabbedMDIRS29;dxTileControlRS29;dxtrmdRS29;dxWizardControlRS29;emsclient;emsclientfiredac;emsedge;emshosting;emsserverresource;FireDAC;FireDACADSDriver;FireDACASADriver;FireDACCommon;FireDACCommonDriver;FireDACCommonODBC;FireDACDb2Driver;FireDACDBXDriver;FireDACDSDriver;FireDACIBDriver;FireDACInfxDriver;FireDACMongoDBDriver;FireDACMSAccDriver;FireDACMSSQLDriver;FireDACMySQLDriver;FireDACODBCDriver;FireDACOracleDriver;FireDACPgDriver;FireDACSqliteDriver;FireDACTDataDriver;fmx;fmxase;fmxdae;fmxFireDAC;fmxobj;FMXTee;FmxTeeUI;ibmonitor;ibxbindings;ibxpress;IndyCore;IndyIPClient;IndyIPCommon;IndyIPServer;IndyProtocols;IndySystem;inet;inetdb;inetdbxpress;inetstn;RESTBackendComponents;RESTComponents;rtl;Skia;soapmidas;soaprtl;soapserver;Tee;TeeDB;TeeUI;tethering;vcl;vclactnband;vcldb;vcldsnap;vcledge;vclFireDAC;vclib;vclie;vclimg;VCLRESTComponents;VclSmp;vcltouch;vclwinx;vclx;xmlrtl;$(PackageImports) Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 1033 $(BDS)\bin\default_app.manifest true ReportFilterPCH1.h + ReportFilter_Icon.ico + none false @@ -167,7 +170,7 @@ $(PostBuildEvent)]]> PerMonitorV2 - rtl.bpi;vcl.bpi;dbrtl.bpi;FireDAC.bpi;FireDACCommonDriver.bpi;FireDACCommon.bpi;xmlrtl.bpi;vclFireDAC.bpi;vcldb.bpi;vclwinx.bpi;vclimg.bpi;bindengine.bpi;vclx.bpi;cxLibraryRS29.bpi;dxGDIPlusRS29.bpi;dxCoreRS29.bpi;dbexpress.bpi;DbxCommonDriver.bpi;vclie.bpi;vcledge.bpi;cxGridRS29.bpi;cxExportRS29.bpi;dxSpreadSheetCoreRS29.bpi;dxComnRS29.bpi;dxSpreadSheetRS29.bpi;dxServerModeRS29.bpi;dxReportsRS29.bpi;dxPSCoreRS29.bpi;dxPSdxPDFViewerLnkRS29.bpi;dxPDFViewerRS29.bpi;FireDACMSAccDriver.bpi;FireDACCommonODBC.bpi;dxmdsRS29.bpi;dxSkinsCoreRS29.bpi;FireDACSqliteDriver.bpi + rtl.bpi;vcl.bpi;dbrtl.bpi;FireDAC.bpi;FireDACCommonDriver.bpi;FireDACCommon.bpi;xmlrtl.bpi;vclFireDAC.bpi;vcldb.bpi;vclwinx.bpi;vclimg.bpi;bindengine.bpi;vclx.bpi;dbexpress.bpi;DbxCommonDriver.bpi;vclie.bpi;vcledge.bpi;FireDACMSAccDriver.bpi;FireDACCommonODBC.bpi;FireDACSqliteDriver.bpi;dxCoreRS37.bpi;cxLibraryRS37.bpi;dxGDIPlusRS37.bpi;cxGridRS37.bpi;cxExportRS37.bpi;dxSpreadSheetCoreRS37.bpi;dxComnRS37.bpi;dxSpreadSheetRS37.bpi;dxServerModeRS37.bpi;dxmdsRS37.bpi;dxSkinsCoreRS37.bpi;dxBackendRS37.bpi;dxPSCoreRS37.bpi;dxPSdxPDFViewerLnkRS37.bpi;dxPDFViewerRS37.bpi;dxReportsRS37.bpi true 1033 @@ -202,7 +205,6 @@ $(PostBuildEvent)]]> uMainForm.h 2 - Base @@ -230,10 +232,10 @@ $(PostBuildEvent)]]> ReportFilter.cpp - Embarcadero C++Builder Office 2000 Servers Package - Embarcadero C++Builder Office XP Servers Package - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components + Embarcadero C++Builder Office 2000 Servers Package + Embarcadero C++Builder Office XP Servers Package + Microsoft Office 2000 Sample Automation Server Wrapper Components + Microsoft Office XP Sample Automation Server Wrapper Components @@ -262,6 +264,16 @@ $(PostBuildEvent)]]> true + + + true + + + + + true + + true @@ -277,6 +289,16 @@ $(PostBuildEvent)]]> true + + + true + + + + + true + + true @@ -287,6 +309,16 @@ $(PostBuildEvent)]]> true + + + true + + + + + true + + ReportFilter.exe @@ -1282,8 +1314,7 @@ $(PostBuildEvent)]]> False False - copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) - + copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) False @@ -1291,8 +1322,7 @@ $(PostBuildEvent)]]> False False - copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) - + copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) False diff --git a/CPB/ReportFilter.cpp b/CPB/ReportFilter.cpp index 2617d03..ab41467 100644 --- a/CPB/ReportFilter.cpp +++ b/CPB/ReportFilter.cpp @@ -12,6 +12,7 @@ int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int) { Application->Initialize(); Application->MainFormOnTaskBar = true; + Application->Title = "DevExpress Example - Filter Data Records in a Report"; Application->CreateForm(__classid(TMainForm), &MainForm); Application->Run(); } diff --git a/CPB/ReportFilter_Icon.ico b/CPB/ReportFilter_Icon.ico new file mode 100644 index 0000000..60cda0a Binary files /dev/null and b/CPB/ReportFilter_Icon.ico differ diff --git a/CPB/uMainForm.dfm b/CPB/uMainForm.dfm index 72cc38e..07b116e 100644 --- a/CPB/uMainForm.dfm +++ b/CPB/uMainForm.dfm @@ -2,7 +2,7 @@ object MainForm: TMainForm Left = 0 Top = 0 AutoSize = True - Caption = 'Product List Report' + Caption = 'DevExpress Example - Filter Data Records in a Report' ClientHeight = 425 ClientWidth = 641 Color = clBtnFace @@ -51,6 +51,8 @@ object MainForm: TMainForm end object gvProductsProductName: TcxGridDBColumn DataBinding.FieldName = 'ProductName' + SortIndex = 0 + SortOrder = soAscending Width = 150 end object gvProductsCategoryName: TcxGridDBColumn @@ -130,6 +132,8 @@ object MainForm: TMainForm end object dxReport1: TdxReport ReportName = 'Product List Report' + Left = 40 + Top = 192 Layout.Strings = ( ' ') - Parameters = <> - Left = 40 - Top = 192 end object dxReportDataConnectionManager: TdxBackendDataConnectionManager Left = 40 @@ -394,6 +395,7 @@ object MainForm: TMainForm end end object dxSkinController1: TdxSkinController + NativeStyle = False SkinName = 'WXI' Left = 88 Top = 144 diff --git a/Delphi/ReportFilter.dpr b/Delphi/ReportFilter.dpr index 7fad83c..4b4e182 100644 --- a/Delphi/ReportFilter.dpr +++ b/Delphi/ReportFilter.dpr @@ -10,6 +10,7 @@ uses begin Application.Initialize; Application.MainFormOnTaskbar := True; + Application.Title := 'DevExpress Example - Filter Data Records in a Report'; Application.CreateForm(TMainForm, MainForm); Application.Run; end. diff --git a/Delphi/ReportFilter.dproj b/Delphi/ReportFilter.dproj index bccf247..1407a6a 100644 --- a/Delphi/ReportFilter.dproj +++ b/Delphi/ReportFilter.dproj @@ -1,4 +1,4 @@ - + {FFE68CA0-DDFE-4451-A27A-29E2BFE7706F} 20.3 @@ -71,15 +71,17 @@ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png ReportFilter + 1033 + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= dxPScxCommonRS29;dxPSdxChartControlLnkRS29;dxRibbonRS29;vclwinx;DataSnapServer;dxPScxExtCommonRS29;dxRichEditControlCoreRS29;fmx;dxSpreadSheetReportDesignerRS29;vclie;DbxCommonDriver;bindengine;IndyIPCommon;VCLRESTComponents;DBXMSSQLDriver;FireDACCommonODBC;emsclient;dxComnRS29;dxFlowChartDesignerRS29;appanalytics;IndyProtocols;vclx;Skia.Package.RTL;dxBarExtDBItemsRS29;dbxcds;vcledge;cxVerticalGridRS29;FmxTeeUI;cxFireDACAdaptersRS29;dxPSDBTeeChartRS29;cxSchedulerWebServiceStorageRS29;DBXFirebirdDriver;dxRichEditControlRS29;dxPsPrVwAdvRS29;FireDACSqliteDriver;DbxClientDriver;dxPSdxGaugeControlLnkRS29;soapmidas;dxRibbonCustomizationFormRS29;TeeUI;dbexpress;dxEMFRS29;dxDockingRS29;inet;vcltouch;dxPSdxFCLnkRS29;dxorgcRS29;FireDACDBXDriver;dxSpreadSheetCoreConditionalFormattingDialogsRS29;fmxdae;dxPSRichEditControlLnkRS29;dxPSdxSpreadSheetLnkRS29;CustomIPTransport;FireDACMSSQLDriver;cxADOAdaptersRS29;madExcept_;dxPSPrVwRibbonRS29;IndySystem;dxPScxTLLnkRS29;dxPSdxDBOCLnkRS29;dxGDIPlusRS29;ibxbindings;vclFireDAC;madDisAsm_;dxPSCoreRS29;dxSpreadSheetRS29;FireDACCommon;DataSnapServerMidas;FireDACODBCDriver;emsserverresource;cxGridEMFRS29;dxPSdxMapControlLnkRS29;dxGanttControlRS29;dxPScxVGridLnkRS29;dxPScxPivotGridLnkRS29;dxWizardControlRS29;dxADOServerModeRS29;bindcompdbx;rtl;FireDACMySQLDriver;dxCloudServiceLibraryRS29;cxIBXAdaptersRS29;dxServerModeRS29;DBXSqliteDriver;dxBarDBNavRS29;DBXSybaseASEDriver;dxSpreadSheetCoreRS29;dxNavBarRS29;vclimg;DataSnapFireDAC;inetdbxpress;FireDAC;xmlrtl;ibxpress;dxFireDACEMFRS29;dsnap;FireDACDb2Driver;dxPSdxLCLnkRS29;DBXOracleDriver;DBXInformixDriver;vclib;fmxobj;bindcompvclsmp;DataSnapNativeClient;DatasnapConnectorsFreePascal;dxPSLnksRS29;dxmdsRS29;dxPSdxOCLnkRS29;cxSchedulerGridRS29;dxPScxSchedulerLnkRS29;emshosting;dxADOEMFRS29;dxChartControlRS29;dxPSdxDBTVLnkRS29;FireDACCommonDriver;dxGaugeControlRS29;IndyIPClient;dxPDFViewerRS29;bindcompvclwinx;dxOrgChartAdvancedCustomizeFormRS29;emsedge;bindcompfmx;dxBarExtItemsRS29;madBasic_;dxReportsRS29;dxFlowChartLayoutsRS29;inetdb;dxdborRS29;ibmonitor;FireDACASADriver;Tee;dxPScxGridLnkRS29;cxPivotGridChartRS29;vclactnband;fmxFireDAC;FireDACInfxDriver;dxRichEditCoreRS29;cxTreeListdxBarPopupMenuRS29;DBXMySQLDriver;dxFlowChartAdvancedCustomizeFormRS29;VclSmp;cxSchedulerRibbonStyleEventEditorRS29;DataSnapCommon;dxPSTeeChartRS29;fmxase;dxtrmdRS29;dxFlowChartRS29;DBXOdbcDriver;dbrtl;dxPScxPCProdRS29;FireDACOracleDriver;Skia.Package.FMX;TeeDB;FireDACMSAccDriver;cxGridRS29;dxSpellCheckerRS29;DataSnapIndy10ServerTransport;dxRichEditDocumentModelRS29;dxMapControlRS29;DataSnapConnectors;vcldsnap;DBXInterBaseDriver;FireDACMongoDBDriver;FireDACTDataDriver;cxLibraryRS29;Skia.Package.VCL;vcldb;dxPSdxPDFViewerLnkRS29;cxSchedulerTreeBrowserRS29;bindcomp;dxTabbedMDIRS29;cxExportRS29;inetstn;IndyCore;RESTBackendComponents;dxHttpIndyRequestRS29;dxTileControlRS29;dxFireDACServerModeRS29;cxPivotGridOLAPRS29;FireDACADSDriver;RESTComponents;IndyIPServer;vcl;dsnapxml;adortl;dsnapcon;DataSnapClient;DataSnapProviderClient;dxCoreRS29;cxPivotGridRS29;dxdbtrRS29;DBXDb2Driver;dxSkinsCoreRS29;emsclientfiredac;FireDACPgDriver;FireDACDSDriver;dxBarRS29;tethering;bindcompvcl;CloudService;DBXSybaseASADriver;dxSpreadSheetConditionalFormattingDialogsRS29;cxTreeListRS29;FMXTee;soaprtl;cxSchedulerRS29;dxDBXServerModeRS29;soapserver;FireDACIBDriver;$(DCC_UsePackage) Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= - 1033 + ReportFilter_Icon.ico $(BDS)\bin\default_app.manifest + none @@ -88,9 +90,9 @@ $(PostBuildEvent)]]> Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= - 1033 + ReportFilter_Icon.ico $(BDS)\bin\default_app.manifest + none @@ -157,10 +159,10 @@ $(PostBuildEvent)]]> ReportFilter.dpr - Embarcadero C++Builder Office 2000 Servers Package - Embarcadero C++Builder Office XP Servers Package - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components + Embarcadero C++Builder Office 2000 Servers Package + Embarcadero C++Builder Office XP Servers Package + Microsoft Office 2000 Sample Automation Server Wrapper Components + Microsoft Office XP Sample Automation Server Wrapper Components @@ -1136,8 +1138,7 @@ $(PostBuildEvent)]]> False False - copy /Y "$(BDS)\Redist\win32\WebView2Loader.dll" $(OUTPUTDIR) - + copy /Y "$(BDS)\Redist\win32\WebView2Loader.dll" $(OUTPUTDIR) False @@ -1145,8 +1146,7 @@ $(PostBuildEvent)]]> False False - copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) - + copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) False @@ -1154,8 +1154,7 @@ $(PostBuildEvent)]]> False False - copy /Y "$(BDS)\Redist\win32\WebView2Loader.dll" $(OUTPUTDIR) - + copy /Y "$(BDS)\Redist\win32\WebView2Loader.dll" $(OUTPUTDIR) False @@ -1163,8 +1162,7 @@ $(PostBuildEvent)]]> False False - copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) - + copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR) False diff --git a/Delphi/ReportFilter.res b/Delphi/ReportFilter.res new file mode 100644 index 0000000..3cd50f1 Binary files /dev/null and b/Delphi/ReportFilter.res differ diff --git a/Delphi/ReportFilter_Icon.ico b/Delphi/ReportFilter_Icon.ico new file mode 100644 index 0000000..60cda0a Binary files /dev/null and b/Delphi/ReportFilter_Icon.ico differ diff --git a/Delphi/uMainForm.dfm b/Delphi/uMainForm.dfm index 092e73e..f6092d4 100644 --- a/Delphi/uMainForm.dfm +++ b/Delphi/uMainForm.dfm @@ -1,11 +1,11 @@ object MainForm: TMainForm Left = 0 Top = 0 - Width = 667 - Height = 496 + Width = 657 + Height = 464 AutoScroll = True AutoSize = True - Caption = 'Product List Report' + Caption = 'DevExpress Example - Filter Data Records in a Report' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText @@ -52,6 +52,8 @@ object MainForm: TMainForm end object gvProductsProductName: TcxGridDBColumn DataBinding.FieldName = 'ProductName' + SortIndex = 0 + SortOrder = soAscending Width = 150 end object gvProductsCategoryName: TcxGridDBColumn @@ -131,6 +133,8 @@ object MainForm: TMainForm end object dxReport1: TdxReport ReportName = 'Product List Report' + Left = 40 + Top = 192 Layout.Strings = ( ' ') - Parameters = <> - Left = 40 - Top = 192 end object dxReportDataConnectionManager: TdxBackendDataConnectionManager Left = 40 @@ -395,6 +396,7 @@ object MainForm: TMainForm end end object dxSkinController1: TdxSkinController + NativeStyle = False SkinName = 'WXI' Left = 88 Top = 144 diff --git a/README.md b/README.md index 162d818..b21e5b5 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ inherited from the [TDataSet] class shipped with the standard VCL library). Run the sample app and check any records in a table: -![Data Record Selection](/vcl-reports-selected-grid-records.png) +![Data Record Selection](./images/vcl-reports-selected-grid-records.png) Click the **Preview Report** button to display a report containing all selected records in the [Report Viewer][report-viewer] dialog. -![Selected Records in a Sample Report](/vcl-reports-sample-report-with-selected-records.png) +![Selected Records in a Sample Report](./images/vcl-reports-sample-report-with-selected-records.png) ## Documentation diff --git a/images/vcl-reports-sample-report-with-selected-records.png b/images/vcl-reports-sample-report-with-selected-records.png new file mode 100644 index 0000000..f44995e Binary files /dev/null and b/images/vcl-reports-sample-report-with-selected-records.png differ diff --git a/images/vcl-reports-selected-grid-records.png b/images/vcl-reports-selected-grid-records.png new file mode 100644 index 0000000..2f852b9 Binary files /dev/null and b/images/vcl-reports-selected-grid-records.png differ diff --git a/vcl-reports-sample-report-with-selected-records.png b/vcl-reports-sample-report-with-selected-records.png deleted file mode 100644 index bef6be2..0000000 Binary files a/vcl-reports-sample-report-with-selected-records.png and /dev/null differ diff --git a/vcl-reports-selected-grid-records.png b/vcl-reports-selected-grid-records.png deleted file mode 100644 index 39e4276..0000000 Binary files a/vcl-reports-selected-grid-records.png and /dev/null differ