DesktopGroupBox.FontUnit

From Xojo Documentation

Property (As FontUnits )
aDesktopGroupBox.FontUnit = newFontUnitsValue
or
FontUnitsValue = aDesktopGroupBox.FontUnit

New in 2021r3

Supported for all project types and targets.

The unit in which FontSize is measured.

Sample Code

The following sets the font units to Millimeter.

Me.FontUnit = FontUnits.Millimeter