C1Tab Reference > C1Tab Properties > Position Property |
Returns or sets the position of the tabs within the control.
[form!]C1Tab.Position[ = TabPositionSettings ]
The settings for the Position property are described below:
Constant |
Value |
Description |
tpTop |
0 |
Tabs are drawn across the top of the control. |
tpBottom |
1 |
Tabs are drawn across the bottom of the control. |
tpLeft |
2 |
Tabs are drawn on the left of the control. |
tpRight |
3 |
Tabs are drawn on the right of the control. |
tpRightIn |
4 |
Tabs are drawn on the right of the control, with text facing into the control. |
tpLeftHorz |
5 |
Tabs are drawn on the left of the control, with horizontal text. |
tpRightHorz |
6 |
Tabs are drawn on the right of the control, with horizontal text. |
Note: Windows only supports vertical text with TrueType fonts. If you set the Position property to one of the vertical settings, make sure you select a TrueType font such as Arial, Times New Roman, Tahoma, or Verdana.
The diagram below illustrates the effect of each setting:
TabPositionSettings (Enumeration)
tpTop (0)