Category Archives: Delphi

Delphi. System.ZIP Simple Examples

example from project… zip file

unzip

more info

Posted in Delphi | Comments Off on Delphi. System.ZIP Simple Examples

Delphi.FastReport. Batch and unbatch reports. Buggy way on concat

Although in docs there is a sample of concating reports – it is a buggy way for some reasons… Problem 1 i’ve already posted that function that concat reports but it well concats dynamically generated reports, if one of them … Continue reading →

Posted in Delphi | Comments Off on Delphi.FastReport. Batch and unbatch reports. Buggy way on concat

Delphi. FireDAC. BLOB

Example from project shows writing in parent table and blob table

Theory from Embarcadero site Embarcadero The BLOB streaming technique implements BLOB parameter values streaming to / from a database. This allows to transfer a BLOB value “by reference” in contrast … Continue reading →

Posted in Delphi | Comments Off on Delphi. FireDAC. BLOB

Delphi. FireDAC. FastReport. MasterDetail. Example from project

qSelectEventUsers – 1st query Note: we use UsersID, eventsID as field alias

setup DataSource

qSelectEventUsersElements – 2d query Note: we use UsersID, eventsID as param

setup 2-d query

setup FastReport components frxDBDataset_qSelectEventUsers DataSet:=DS_EventUsers UserName:=frxDBDataset_qSelectEventUsers frxDBDataset_qEventUserElements DataSet:=qSelectEventUsersElements … Continue reading →

Posted in Delphi | Comments Off on Delphi. FireDAC. FastReport. MasterDetail. Example from project

Delphi. VCL. FastReport. Manual

https://www.fastreport.ru/public_download/docs/vcl/UserManual-ru.pdf

Posted in Delphi | Comments Off on Delphi. VCL. FastReport. Manual

Delphi. FireDAC. MasterDetail

Source. Embarcadero To set up a master-detail relationship, this sample uses the Object Inspector to configure the following components at design time as follows: Two TFDQuery objects named qryOrders and qryOrderDetails. These components are used to implement a dataset capable of executing SQL queries. The following setup is … Continue reading →

Posted in Delphi | Comments Off on Delphi. FireDAC. MasterDetail

Delphi. MVC pattern in UniGUI vs traditional coding to form

My discussion on forum Conclusion – mvc is possible to implement, but not obligatory. Standart delphi structure of dfm and pas is natural to delphi enviroment. Maybe mvc pattern would be better for big projects…

Posted in Delphi, UniGui | Comments Off on Delphi. MVC pattern in UniGUI vs traditional coding to form

Delphi. UniGUI. Calc, just calc

Wanted to show 2 patterns on calc example, but calc itself has become not simple task… Below version that works correctly but there is things to do…

 

Posted in Delphi, UniGui | Comments Off on Delphi. UniGUI. Calc, just calc

MySQL. function to count ratio. Example from project

Was needed to count progress of finished / all elements,below is an example how to do this…

 

Posted in Delphi | Comments Off on MySQL. function to count ratio. Example from project

Delphi. FireMonkeyStyles

 

Posted in Delphi, FireMonkey | Comments Off on Delphi. FireMonkeyStyles