Embarcadero has just released the new version 11.1 of Delphi.
Continue reading “Delphi 11.1 is released”Send mails from Delphi apps through PHP script
Sending mails from a client app is an interesting feature, it can be used for sending notifications or authentication codes. You can add this option to your Delphi (desktop and mobile) apps by calling a PHP web script through REST client.
Continue reading “Send mails from Delphi apps through PHP script”Sorting records in Delphi datasets
Delphi FireDAC datasets offer a quick and easy sorting feature, through the property “IndexFieldNames” in which you list the field names to use as an index, and you can optionally specify sorting options for each field.
Continue reading “Sorting records in Delphi datasets”Replace strings in Delphi dataset records
How to replace a string quickly in the whole dataset ? How to create a fast replace dialog for your app’s datasets ?
In this tutorial, we will explains the right procedure to implement a replace feature for your Delphi datasets.
Continue reading “Replace strings in Delphi dataset records”Difference between adding a unit to the interface or the implementation section
Object Pascal units have two sections (interface and implementation), and as you can see in many source code, each section can have distinct items (uses, types, variables, and constants).
So, which section is suitable for putting a unit as uses ?
Continue reading “Difference between adding a unit to the interface or the implementation section”Creating and extracting ZIP archives in Delphi
Since version XE2, Delphi is shipped with the built-in unit “System.Zip” for creating, editing and extracting ZIP compressed files. It is based on the RTL, and it can work slightly with VCL and FMX frameworks on all supported targets.
In this tutorial, we will show you what are the abilities of this unit and how to use it properly.
Continue reading “Creating and extracting ZIP archives in Delphi”