News combit Dev Blog

Brand New VCL Component for Delphi Developers

Posted: Thursday, February 28, 2019 | 2 comment(s)
 
It's been a while since the original announcement back in June 2016, but hey, we're finally there. Today marks the release of a brand new VCL component that uses the data provider interface and FireDAC at its core. 

This enables a number of great features that were previously unavailable to Delphi developers using our "old" databound component:

Besides these product inherent features, you can now bind to any data FireDAC supports. According to Embarcadero this covers Oracle, MS SQL Server, SQLite, DB2, MySQL and PostgreSQL to name just a few. And, last not least, we got rid of the BDE dependency we had before. For our Delphi users, this is truely a giant leap forward. We decided to open source the new component and are happily accepting pull requests. Just fork the component's source code on GitHub. Things you could work on include support for label projects (currently only list type projects are supported), support for DesignerFunctions and DesignerObjects or even support for 1:1 relations. 

Due to the completely different nature of the new component, it is not a drag & drop replacement for the existing TDBL24 component. We rather looked at what our .NET component offers and tried to mimic its interface closely. Also, the project files are not interchangeable between the new components. If you start something new, we strongly suggest to have a look at the new component. However, we'll also maintain the "old" components for a long time to come for compatibility reasons. 

The new component compiles and integrates with RAD Studio 10.3 Rio. We also ship a sample that shows how to use it. Basically, you wire up the data structure in your form, including the queries and data sources to use:



In the code, all there is left then is to call the Design() or Print() method:

// ...
ListLabel.DataController.AutoMasterMode := TLlAutoMasterMode.mmAsVariables;
ListLabel.DataController.DataMember := 'Orders';
 
ListLabel.AutoProjectFile := 'inv_merg.lst';
ListLabel.Design;
// ...

This opens the Designer, fully fledged with report container support, drilldown support and designer real data preview:




A big special thank you goes to Andreas Mueller of Nord-Vision IT - his contributions to this project were invaluable. We look forward to your thoughts, comments and pull requests.




Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


  

RSS
combit Development BlogRSS
What’s this blog for?
A place to share updates about the ongoing development of our products. General musings on the software industry included.
Archive
March 2021 (1)
February 2021 (2)
January 2021 (1)
December 2020 (2)
November 2020 (1)
October 2020 (2)
September 2020 (1)
August 2020 (2)
July 2020 (1)
June 2020 (1)
May 2020 (2)
April 2020 (2)
March 2020 (2)
February 2020 (1)
January 2020 (1)
December 2019 (1)
November 2019 (2)
October 2019 (2)
September 2019 (2)
August 2019 (2)
July 2019 (2)
June 2019 (2)
May 2019 (1)
April 2019 (0)
April 2019 (1)
March 2019 (1)
February 2019 (1)
January 2019 (1)
December 2018 (1)
November 2018 (2)
October 2018 (4)
September 2018 (4)
August 2018 (2)
July 2018 (2)
June 2018 (2)
May 2018 (1)
April 2018 (1)
March 2018 (1)
February 2018 (2)
January 2018 (1)
December 2017 (1)
November 2017 (2)
October 2017 (3)
September 2017 (3)
August 2017 (2)
July 2017 (2)
June 2017 (1)
May 2017 (2)
April 2017 (1)
March 2017 (1)
February 2017 (1)
January 2017 (2)
December 2016 (1)
November 2016 (1)
October 2016 (4)
September 2016 (5)
August 2016 (2)
July 2016 (2)
June 2016 (3)
May 2016 (2)
April 2016 (3)
March 2016 (3)
February 2016 (1)
January 2016 (2)
December 2015 (2)
November 2015 (1)
October 2015 (4)
September 2015 (5)
August 2015 (2)
July 2015 (2)
June 2015 (2)
May 2015 (1)
April 2015 (2)
March 2015 (1)
February 2015 (1)
January 2015 (1)
December 2014 (2)
November 2014 (1)
October 2014 (1)
September 2014 (2)
August 2014 (1)
July 2014 (2)
June 2014 (1)
May 2014 (2)
April 2014 (1)
March 2014 (2)
+1 800 256 3608 (toll-free North America only)