TabPageFontItalic Property
Applies To
TabControl
Description
The TabPageFontItalic property sets and gets the font of the text in the TabControl tab page to "standard" or "italic" during design time.
Usage
GGet Form.Control.TabPageFontItalic(index), var
GSet Form.Control.TabPageFontItalic(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
TabControl, TabPageFontName, TabPageFontBold, TabPageFontSize
Example
'Get the font style (standard, italic) for the tab page text of index number 2 that is currently set.
GGet frmMain.tabControl1.TabPageFontItalic(2), fontItalic
'Set the font style for the tab page text of index number 0 as italic.
GSet frmMain.tabControl1.TabPageFontItalic(0), True