TextSize property (controls)
From Xojo Documentation
(Redirected from BevelButton.TextSize) This item was deprecated in version 2019r2. Please use FontSize as a replacement. |
Property (As Single )
a<see below>.TextSize = newSingleValue
or
SingleValue = a<see below>.TextSize
Supported for all project types and targets.
or
SingleValue = a<see below>.TextSize
Supported for all project types and targets.
Point size of the font used to display the caption or text content of a Control.
Notes
If you enter zero as the TextSize, your app will use the font size that works best for the platform on which it is running.
Controls implementing the TextSize property
BevelButton | Changed in 2009r4 | |
Checkbox | Changed in 2009r4 | |
Graphics | Changed in 2009r4 | |
GroupBox | Changed in 2009r4 | |
Label | New in 2010r4 | |
ListBox | Changed in 2009r4 | |
PopupMenu | Changed in 2009r4 | |
PushButton | Changed in 2009r4 | |
RadioButton | Changed in 2009r4 | |
TextEdit | Changed in 2009r4 | |
TabPanel | Changed in 2009r4 |
Sample Code
This code sets the font size to 16 points.
Me.TextSize = 16