Most of the time when starting a new big project you end up creating lots of modules for your application. Most of them could be dozens of different functions which helps to write less code while building the main project. For instance, while I was developing a school management system, I have created more than 30 modules for my project and currently, I utilize them all the time. They are my core…
Power Tip: Learn How to Send Arrays To An InterBase Database Using FireDAC In Delphi
January 13, 2021
The Arrays sample shows you how to use the TFDParam.ArrayType property to send arrays to a database server. To this end the ArrayType property is set to atTable.Note: This demo establishes a connection to the Interbase localhost server by default, using…
To continue our discussion of Linux development, let’s take a look at this incredible collection of sample projects available for download, which demonstrate some amazing functions that you can use on your Linux projects.
First, let’s look at how to install the…
Easily Connect To SQLite Using FireDAC And LiveBindings In Delphi
January 12, 2021
This sample shows the use ofFireDACdatabase connection usingSQLite. Also, it shows how to use aTBindNavigatorcontrol.
Location
You can find theFMGettingStartedproject at:
Start | Programs | Embarcadero RAD Studio Sydney | Samples and then navigate to: Object PascalDatabaseFireDACSamplesGetting Started FMXSQLite_Desktop Subversion Repository: You…
Learn How To Define Powerful Dataset Views Using Indices With FireDAC In Delphi Windows Development
January 11, 2021
The Indices sample shows you how to use the Indexes property of TFDQuery in order to specify a collection of indexes at design time and determine the data view of each index, including a sort order of the records. Moreover, you can sort the records on a specific field…
This sample shows how to use FireMonkeyimage lists. In theUsing TImageList Image Lists as Centralized Collections of Imagestutorial, this example is used:
Todemonstrate how to usetheImage List Editor.To describe the code implementing…
It displays a picture, which the user can rotate by pressing it with two fingers and rotating them. The image rotates in the direction that your fingers are pointing. The image rotates to the right when the fingers are rotated to the right. The image rotates to the left when the fingers are rotated to the left.
Location
You can find theImageRotationsample project at:
Start |…
Fast Inverse Square Root in Delphi's Object Pascal
January 9, 2021
Does Delphi make you a better programmer? Is Object Pascal code more readable?
There is an algorithm with a mystery constant that rose to fame in John Carmack’s Quake III Arena C code for quickly estimating the inverse square root of a 32-bit floating-point…
This sample demonstrates how to use the filter feature ofTFDQuery.
To this end, the sample implements different preset filters. Moreover, you can edit your own filtering condition andapply the filter to a datasetin order to search for specific…
Build Powerful Master-Detail Relationships With Centralized Cached Updates In Delphi
January 7, 2021
First, theCentralizedCachedUpdatessample sets up range-basedmaster-detail relationshipsbetween datasets using twoTFDQueryobjects. Then, the sample shows you how to use aTFDSchemaAdapterobject to enable theCentralized Cached Updatesmode. To this end, the schema adapter object is used as a central change log shared by both the master and…