For me, Screen.SystemFont.Name and Screen.SystemFont.Size return name and size of a font which are visually the same as the form (you can test for yourself).
Antônio 2011/11/11 Torsten Bonde Christiansen <[email protected]>: > On 2011-11-11 15:00, zeljko wrote: > > On Friday 11 of November 2011 14:46:08 Torsten Bonde Christiansen wrote: > >> Hi List. > >> > >> How do get the font name and size of the default fonts? > >> > >> If I simply access eg. form.font.name, I get "default" and likewise size > >> is 0 (nul), but > >> I would like to get the actual font and size used to render what I see > >> on my form. > >> > >> Is this possible? > > afaik not if you don't access ws code directly. > > How should I do this - even through ws code? > > -Torsten. > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
