Skip to content

Commit 852b5e4

Browse files
committed
delphi: Rename project and application
- Add an application icon
1 parent d250f7c commit 852b5e4

7 files changed

Lines changed: 14 additions & 12 deletions
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
program ReportTemplate;
1+
program StoreReportInDB;
22

33
uses
44
Vcl.Forms,
55
uMainForm in 'uMainForm.pas' {MainForm},
66
uData in 'uData.pas' {DataModule1: TDataModule},
7-
ReportTemplate.dxSettings in 'ReportTemplate.dxSettings.pas';
7+
StoreReportInDB.dxSettings in 'StoreReportInDB.dxSettings.pas';
88

99
{$R *.res}
1010

1111
begin
1212
Application.Initialize;
1313
Application.MainFormOnTaskbar := True;
14+
Application.Title := 'DevExpress Example: Store Report in a Database';
1415
Application.CreateForm(TMainForm, MainForm);
1516
Application.CreateForm(TDataModule1, DataModule1);
1617
Application.Run;
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<Base>True</Base>
77
<Config Condition="'$(Config)'==''">Debug</Config>
88
<Platform Condition="'$(Platform)'==''">Win32</Platform>
9-
<ProjectName Condition="'$(ProjectName)'==''">ReportTemplate</ProjectName>
9+
<ProjectName Condition="'$(ProjectName)'==''">StoreReportInDB</ProjectName>
1010
<TargetedPlatforms>3</TargetedPlatforms>
1111
<AppType>Application</AppType>
12-
<MainSource>ReportTemplate.dpr</MainSource>
12+
<MainSource>StoreReportInDB.dpr</MainSource>
1313
</PropertyGroup>
1414
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
1515
<Base>true</Base>
@@ -70,7 +70,7 @@
7070
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
7171
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
7272
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
73-
<SanitizedProjectName>ReportTemplate</SanitizedProjectName>
73+
<SanitizedProjectName>StoreReportInDB</SanitizedProjectName>
7474
</PropertyGroup>
7575
<PropertyGroup Condition="'$(Base_Win32)'!=''">
7676
<DCC_UsePackage>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)</DCC_UsePackage>
@@ -113,6 +113,7 @@ $(PostBuildEvent)]]></PostBuildEvent>
113113
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
114114
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
115115
<VerInfo_Locale>1033</VerInfo_Locale>
116+
<Icon_MainIcon>StoreReportInDB_Icon.ico</Icon_MainIcon>
116117
</PropertyGroup>
117118
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
118119
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
@@ -144,7 +145,7 @@ $(PostBuildEvent)]]></PostBuildEvent>
144145
<FormType>dfm</FormType>
145146
<DesignClass>TDataModule</DesignClass>
146147
</DCCReference>
147-
<DCCReference Include="ReportTemplate.dxSettings.pas"/>
148+
<DCCReference Include="StoreReportInDB.dxSettings.pas"/>
148149
<BuildConfiguration Include="Base">
149150
<Key>Base</Key>
150151
</BuildConfiguration>
@@ -163,7 +164,7 @@ $(PostBuildEvent)]]></PostBuildEvent>
163164
<BorlandProject>
164165
<Delphi.Personality>
165166
<Source>
166-
<Source Name="MainSource">ReportTemplate.dpr</Source>
167+
<Source Name="MainSource">StoreReportInDB.dpr</Source>
167168
</Source>
168169
<Excluded_Packages>
169170
<Excluded_Packages Name="$(BDSBIN)\bcboffice2k370.bpl">Embarcadero C++Builder Office 2000 Servers Package</Excluded_Packages>
@@ -173,9 +174,9 @@ $(PostBuildEvent)]]></PostBuildEvent>
173174
</Excluded_Packages>
174175
</Delphi.Personality>
175176
<Deployment Version="5">
176-
<DeployFile LocalName="Win32\Debug\ReportTemplate.exe" Configuration="Debug" Class="ProjectOutput">
177+
<DeployFile LocalName="Win32\Debug\StoreReportInDB.exe" Configuration="Debug" Class="ProjectOutput">
177178
<Platform Name="Win32">
178-
<RemoteName>ReportTemplate.exe</RemoteName>
179+
<RemoteName>StoreReportInDB.exe</RemoteName>
179180
<Overwrite>true</Overwrite>
180181
</Platform>
181182
</DeployFile>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{ }
1515
{**********************************************************************}
1616

17-
unit ReportTemplate.dxSettings;
17+
unit StoreReportInDB.dxSettings;
1818

1919
{$I cxVer.inc}
2020

Delphi/StoreReportInDB.res

151 KB
Binary file not shown.

Delphi/StoreReportInDB_Icon.ico

26 KB
Binary file not shown.

Delphi/uMainForm.dfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ object MainForm: TMainForm
22
Left = 0
33
Top = 0
44
AutoSize = True
5-
Caption = 'MainForm'
5+
Caption = 'DevExpress Example: Store Report in DB'
66
ClientHeight = 353
77
ClientWidth = 505
88
Color = clBtnFace
@@ -33,7 +33,7 @@ object MainForm: TMainForm
3333
Top = 76
3434
Width = 377
3535
Height = 25
36-
Caption = ' Preview Report'
36+
Caption = 'Preview Report'
3737
TabOrder = 2
3838
OnClick = btnPreviewClick
3939
end

0 commit comments

Comments
 (0)