TabAlignment Property
Applies To
TabControl
Description
Sets or gets the tab alignment that is displayed on a control.
Usage
GGet Form.Control.TabAlignment, var
GSet Form.Control.TabAlignment, 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
- Integer variable that will contain the value of the property.
- value
- Integer expression for the new value of the property
Values
0 – Left
1 – Top
2 – Right
3 – Bottom
Default: TOP
See Also
TabControl
Example
' Gets the tab alignment that is currently set.
GGet frmMain.tabControl1.TabAlignment, alignment
' Sets the tab alignment to 0 (Left).
GSet frmMain.tabControl1.TabAlignment, 0
← T TabEditor Property →