When working on datasets in multiple languages or in a latin language other than English, you may encounter string values with accented letters (like : à, é, è, ï, …).
If your database controls have unicode support with no settings to tolerate accents, then filtering records can be kind complicated to find records containing diacritics and accented letters, as most users won’t pay attention when writing the filter pattern.
Continue reading “Remove accents and diacritical marks from latin letters in Delphi”
In this tutorial, we will show you how to implement an automatic color changing for any control on the form (without using FMX animations).
Continue reading “Change the color of a control automatically in Delphi apps”
In addition to generating a string with random characters, it is also possible to generate a word-like string that you can use in word game or for authentication keys.
Continue reading “Generate random word-like string in Delphi”
Generating a string with random characters is a good feature that can be used for making authentication codes, hash salts, etc.
Continue reading “Generate random string in Delphi”
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”
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”