Label.FontSize
From Xojo Documentation
Property (As Single )
aLabel.FontSize = newSingleValue
or
SingleValue = aLabel.FontSize
New in 2019r2
Supported for all project types and targets.
or
SingleValue = aLabel.FontSize
New in 2019r2
Supported for all project types and targets.
Size of the font used to display the caption.
Notes
If you enter zero as the FontSize, your app will use the font size that works best for the platform on which the application is running.
Sample Code
This code sets the fontsize to 16 points:
Me.FontSize = 16