-
Using a reserved word as an identifier (variable name, class name etc) in Delphi
AKA Silly Delphi Party Tricks #1 Is it possible to use a reserved word as an identifier ? For example – I want to name my variable or class “BEGIN” because, ummm, well I dont know just because. Yes you can. Simply prefix the the name with an ampersand “&” escape character like this var &begin : integer; // begin…
-
Conditional compilatation to detect VCL or FireMonkey in a Delphi Form
This shows how to detect if your application is using FireMonkey (FMX) or VCL when using conditional compilation within a Delphi form unit. UPDATE – a better solution has been provided by a Rudy Velthuis. I recommend to use that instead of my original post. Ive provided examples based on his feedback. Thanks Rudy
-
List of Delphi controls on a form – Tree hierarchy and flat list (FireMonkey)
Get a list of all controls in your Delphi FireMonkey (FMX) form . Examples included a flat list and a hierarchical “tree” list
-
List of Delphi controls on a form – Tree hierarchy and flat list (VCL)
Get a list of all controls in your Delphi VCL form Examples included a flat list and a hierarchical “tree” list
-
Change Delphi control values without change events firing (VCL and FMX)
Change a Delphi field value without the change events firing (OnChange)
-
Using SELECT to create a range of numbers or duplicate rows – Oracle SQL
This simple technique will show you how to write a SELECT statement that dynamically creates a number of rows. It can be used to duplicate data or create a numbers on the fly, so the data looks like this. DATA 1 2 3 4 5
-
More Oracle and Delphi posts coming soon
I just got started with this site Ill be putting out a post every week or so as I dig through my collection of source code. Drop by soon while I get stuck into creating more Delphi and Oracle posts About The Author The Usual Suspect – Scott Hollows – Oracle and Delphi software developer. Australian Delphi…
-
Converting Delphi Angles between Degrees, Radians and X/Y
If you need to convert angles in Delphi between degrees (0 – 360), radians and X/Y coordinates you have come to the right place. Ill show you how to do it in just one line of code, two if you count the USES entry
-
Open WebLoc files in Microsoft Windows with WinWebLoc free software
Do you need to open *.WebLoc files in Microsoft Windows ? This will show you how using some free software that I developed called WinWebLoc