TabPageFontBold Property
Applies To
TabControl
Description
The TabPageFontBold property allows you to get and set the font of the text in the TabControl tab page to "standard" or "bold" during design time.
Usage
GGet Form.Control.TabPageFontBold(index), var
GSet Form.Control.TabPageFontBold(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
- Boolean variable that will contain the value of the property.
- value
- Boolean expression for the new value of the property.
Values
0 - False
1 - True
Default: 0 - False
See Also
Tab Control, TabPageFontName Property, TabPageFontItalic Property, TabPageFontSize Property
Example
'Get the font style (standard, bold) for the tab page text of index number 2
GGet frmMain.tabControl1.TabPageFontBold(2), fontBold
'Set the font style for the tab page text of index number 0 to bold.
GSet frmMain.tabControl1.TabPageFontBold(0), True