TabHeaderAutoFit Property

Applies To
TabControl

Description
Gets or sets whether to automatically adjust the tab header size to the text size.

Usage

GGet Form.Control.TabHeaderAutoFit, var  
GSet Form.Control.TabHeaderAutoFit, 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
0 – False
1 – True
Default:0 – False

See Also
Tab Control

Example

'Gets the adjustment mode of the tab header that is currently set.
GGet frmMain.tabControl1.TabHeaderAutoFit, autoFit
'Sets the tab header's adjustment mode to False (Manual adjustment).
GSet frmMain.tabControl1.TabHeaderAutoFit, False