TabHeaderTextAlign Property
Applies To
TabControl
Description
Gets or sets the alignment of the tab header text.
Usage
GGet Form.Control.TabHeaderTextAlign, var
GSet Form.Control.TabHeaderTextAlign, 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
1 – Left
2 – Center
3 – Right
Default:Center
See Also
Tab Control
Example
'Gets the alignment of the tab header text that is currently set.
GGet frmMain.tabControl1.TabAlignment, alignment
'Sets the alignment of the tab to 1(Left).
GSet frmMain.tabControl1.TabAlignment, 1