From Xojo Documentation

Revision as of 19:13, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Single )
aDesktopListBox.FontSize = newSingleValue
SingleValue = aDesktopListBox.FontSize

New in 2021r3

Supported for all project types and targets.

Size of the font used to display text.


If you enter zero as the FontSize, your app will use the font size that works best for the platform on which it is running.

Sample Code

This code sets the font size to 16.

Me.FontSize = 16