From Xojo Documentation

Property (As FontUnits )
aBevelButton.TextUnit = newFontUnitsValue
FontUnitsValue = aBevelButton.TextUnit

New in 2009r4

Supported for all project types and targets.

The units in which BevelButton.TextSize is measured. Use the class constants rather than the numeric values in code.


The options are:

Value Class Constant
0 Default
1 Pixel
2 Point
3 Inch
4 Millimeter

Sample Code

Me.TextUnit = FontUnits.Point

See Also

FontUnits Enumeration