TabHeaderHeight Property

Applies To
TabControl

Description
Gets or sets the height of tab header in pixels.

Usage

GGet Form.Control.TabHeaderHeight, var  
GSet Form.Control.TabHeaderHeight, 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 height in pixels.

See Also
Tab Control

Example

'Gets the height of the tab header that is currently set.
GGet frmMain.tabControl1.TabHeaderHeight, height
'Sets the tab header's height.(To reflect the set value, TabHeaderAutoFit must be set to False.)
GSet frmMain.tabControl1.TabHeaderAutoFit, False
GSet frmMain.tabControl1.TabHeaderHeight, 48