TabHeaderWidth Property
Applies To
TabControl
Description
Gets or sets the width of Tab Header in pixels.
Usage
GGet Form.Control.TabHeaderWidth, var
GSet Form.Control.TabHeaderWidth, 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.
- var
- String variable that will contain the value of the property.
- value
- String expression for the new value of the property
Values
An integer representing the width in pixels.
See Also
Tab Control
Example
'Gets the width of the tab header that is currently set
GGet frmMain.tabControl1.TabHeaderWidth, width
'Sets the tab header width. (To reflect the set value, the TavHeaderAutoFit must be set to False.)
GSet frmMain.tabControl1.TabHeaderAutoFit, False
GSet frmMain.tabControl1.TabHeaderWidth, 120