Lazarus
Programming => General => Topic started by: dasa2 on February 06, 2023, 09:47:08 pm
-
From Delphi im used to use TApplication.DefaultFont is there an equivalent in Lazarus?
I have several forms so putting Font.Name on each one and use PartentFont gets messy quick.
I also want to embedd the font as a resource, what is the correct way to then use the font in the application?
-
For what OS?
-
For what OS?
Only for Windows.
-
For Windows I made and published here (https://forum.lazarus.freepascal.org/index.php/topic,61830.msg466555.html#msg466555) a wrapper available to download.
You need to set the font when you create the form(s) (for auto-updating controls, parentfont must be set to true ofc.)