Immediate TTimer to emulate PostCreate / PostOnCreate event in Delphi

Learn how to create the equivalent of an PostCreate / PostOnCreate event that executes just after the form’s OnCreate event has fired.

To do this, we will use an “Immediate Timer”

Continue reading “Immediate TTimer to emulate PostCreate / PostOnCreate event in Delphi”

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”