Multi Line Popup Hints for Delphi VCL and FMX

Learn how to setup multi line popup hints in Delphi for any type of control for both VCL and FireMonkey.
This uses native Delphi code.  You don’t need to hack the forms’s DFM text file

multi_line_hints_3

Continue reading “Multi Line Popup Hints for Delphi VCL and FMX”

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

{$IF FMX.Types.FireMonkeyVersion >= 0} // if FireMonkey
     DoSomethingFMX;
{$ELSE}                  // its not FMX, so it must be VCL
     DoSomethingVCL;
{$ENDIF}

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)”