DesktopListBox.FontSize

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2021r3

Supported for all project types and targets.

Size of the font used to display text.

Notes

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