From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

Size of the font used to display the caption.


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 (in any BevelButton event) sets the font size to 16 points.

Me.FontUnit = FontUnits.Point
Me.FontSize = 16