TabFontSize Property
Applies To
TabControl
Description
The TabFontSize property allows you to get and set the font size of the text in the TabControl's tab page.
Usage
GGet Form.Control.TabPageFontSize(index), var
GSet Form.Control.TabPageFontSize(index), value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name.
- Index
- An index of the Tab control.
- var
- Real variable that will contain the value of the property.
- value
- Real expression for the new value of the property.
Values
The value of the font size in points.
Default: 12
See Also
TabControl, TabPageFontName, TabPageFontItalic, TabPageFontBold
Example
'Get the font size for the tab page text of index number 2 that is currently set
GGet frmMain.tabControl1.TabPageFontSize(2), fontSize
'Set the font size for the tab page text of index number 0 to 20.
GSet frmMain.tabControl1.TabPageFontSize(0), 20