PushButton.FontSize

From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

Point 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 it is running.

Sample Code

This code sets the font size to 16 points.

Me.FontSize = 16