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”
One of the best implemented features in Delphi datasets is the filter (records filtering). This built-in tool work by combining SQL filtering commands and string options like case sensitivity.
In this quick tutorial, will show you how to use the filter effectively.
Continue reading “Using the Filter in Delphi datasets”
The TPath class from System.IOUtils unit give you the ability to access system and application specific paths and folders, like the user folders (My documents, My music, My pictures, …).
Continue reading “Using platform-specific paths in Delphi”
Delphi has many system routines that enable you to handle and work on files and storage contents. Also, these routines can be used on all supported platforms, provided by the System unit and sub-units.
Continue reading “Comparing sizes of files in Delphi”
In Delphi FMX, it is possible to save and retrieve data form the last state of your app.
This mean that, when your app is closed (on Windows and macOS) or moved to the background (on Android), its state’s data such as form’s properties, controls’s inputs and values can be stored to a temporar or permanent stream storage. Then, on the next form creation, these data are loaded and used again.
Let’s see how it can work through this quick tutorial :
Continue reading “Using SaveState service in Delphi apps”
On Microsoft Windows, the Registry represent the main component to store, retrieve and customize configurations and settings.
Continue reading “Using Windows Registry in Delphi VCL and FMX apps”