On 2017-02-16 11:18, Ondrej Pokorny via Lazarus wrote: > Well, you mixed up DEFINED and DECLARED macros. Dope!!! Thanks for spotting that. I need more coffee. ;-) Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp