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”
In Delphi FMX multi-platforms apps, you can use the system clipboard (on Windows, Linux, MacOS, iOS and Android) to copy and paste data like text and images.
There is two options in Delphi FMX, you can use :Continue reading “Using Clipboard in Delphi FMX apps”
Technically, BLOB fields are a special kind of fields in a dataset that can store a binary large object (BLOB) : raw binary data of arbitrary length. These data are in origin a picture or a file, transformed to Base64 code and stored into dataset’s records.
In Delphi (represented by TBlobField class), you can use this kind of fields in any dataset in both frameworks (VCL and FMX), to store and retrieve a picture or file in runtime.Continue reading “Using BLOB fields in Delphi datasets”