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 in a Delphi form

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

Continue reading “Conditional compilatation to detect VCL or FireMonkey in a Delphi Form”

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

Continue reading “List of Delphi controls on a form – Tree hierarchy and flat list (FireMonkey)”