"FonT deprecated. What to use instead' lazarus / 31-LCL ---------------------------------------------------------------------- mtanner · 2017-05-13 14:40 I get the message Symbol "Font" is deprecated. I'd be curious to understand why, but mostly I'd just like to know how to refer to a font (so I can change font characteristics from my code) and not get this warning message. ---------------------------------------------------------------------- wp · 2017-05-13 15:11 Font of which component? ---------------------------------------------------------------------- valdir.marcos · 2017-05-13 15:14 What OS? What OS bitness? What font?  What Lazarus version and bitness? ---------------------------------------------------------------------- mtanner · 2017-05-13 15:16 Chart axis. ---------------------------------------------------------------------- wp · 2017-05-13 15:28 Use LabelFont instead. ---------------------------------------------------------------------- mtanner · 2017-05-13 15:33 Win (XP!) Lazarus version 3.0.0 SVN revision 51630 i386-win32-win32/win74 No idea what "bitness" is. ---------------------------------------------------------------------- Thaddy · 2017-05-13 16:18 Not important here. Do what wp says: use labelfont instead. ---------------------------------------------------------------------- Graeme · 2017-05-15 08:34 Quote from: Thaddy on May 13, 2017, 06:18:25 pmNot important here. Do what wp says: use labelfont instead. The deprecated entry should really have mentioned that, which in turn would output in the compiler messages. For some years now FPC supports messages with the deprecated keyword. See the "Free Pascal Language Reference" document, Section 1.5 "Hint directives".