Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
url: vcl-dashboards-store-layout-template-database
website: https://docs.devexpress.com/VCL/405642/ExpressDashboards/vcl-dashboards
tags: [vcl, dashboards, layout, database]
description: |
DevExpress VCL Dashboards - Store Dashboard Layouts in a Database
description: "DevExpress Dashboards for Delphi/C++Builder - Store Dashboard Layouts and User Interaction State in a Database"
92 changes: 92 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Default Delphi compiler directories
# Content of these directories are generated with each Compile/Construct of a project.
Win32/
Win64/
Win64x/

# Delphi compiler-generated binaries (safe to delete)
*.exe
*.exe.*
*.dll
*.bpl
*.bpi
*.dcp
*.so
*.apk
*.drc
*.map
*.dres
*.rsm
*.tds
*.dcu
*.lib
*.a
*.o
*.ocx

# Delphi autogenerated files (duplicated info)
*.cfg
*.hpp
*Resource.rc
*.rsp

# Delphi local files (user-specific info)
*.local
*.identcache
*.projdata
*.tvsconfig
*.dsk
*.dsv

# Delphi history and backups
__history/
__recovery/
*.~*


# ------------------------------------------------------------
# C++Builder specific
# ------------------------------------------------------------

# C++Builder compiler outputs
*.obj
*.hpp
*.ilc
*.ild
*.ilf
*.ils
*.map
*.tds
# Program Database file that stores debugging symbols
*.pdb


# Precompiled headers
*.pch

# C++Builder packages and libraries
*.bpl
*.bpi
*.lib
*.a
*.dll
*.so

# C++Builder intermediate / cache files
*.cbproj.local
*.cbproj.identcache
*.cbproj.user
*.cbtemp


# Castalia statistics file (since XE7 Castalia is distributed with Delphi)
*.stat

# Boss dependency manager vendor folder https://github.com/HashLoad/boss
modules/

# Output files
*.pdf
*.docx
*.zip
data.dat
93 changes: 66 additions & 27 deletions CPB/DashboardTemplate.cbproj → CPB/StoreDashboardInDB.cbproj

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CPB/DashboardTemplate.cpp → CPB/StoreDashboardInDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
Application->Initialize();
Application->MainFormOnTaskBar = true;
Application->Title = "DevExpress VCL: Store Dashboard Layout in a Database";
Application->CreateForm(__classid(TDataModule1), &DataModule1);
Application->CreateForm(__classid(TMainForm), &MainForm);
Application->Run();
Expand Down
File renamed without changes.
File renamed without changes.
Binary file added CPB/StoreDashboardInDB_Icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion CPB/uData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#pragma resource "*.dfm"
TDataModule1 *DataModule1;
//---------------------------------------------------------------------------
const String DataFileName = "..\\..\\data.dat";
const String DataFileName = "data.dat";


__fastcall TDataModule1::TDataModule1(TComponent* Owner)
Expand Down
301 changes: 149 additions & 152 deletions CPB/uData.dfm

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion CPB/uData.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class TDataModule1 : public TDataModule
TBlobField *mdLayoutsState;
TDataSource *dsLayouts;
TdxBackendDataConnectionManager *dxBackendDataConnectionManager1;
TdxBackendDatabaseSQLConnection *ReportsNWindConnectionString;
TdxBackendDataSetJSONConnection *RevenueByIndustryConnection;
TdxBackendDataSetCollectionItem *RevenueByIndustryConnectionItem1;
TdxSkinController *dxSkinController1;
Expand Down
Loading
Loading