TabAlignment属性
适用范围
TabControl
说明
获取或设置控件上显示的选项卡的布局。
使用
GGet Form.Control.TabAlignment, var
GSet Form.Control.TabAlignment, value
- Form
- 指定窗体名称或含有窗体名称的字符串变量。
- Control
- 指定控件名称或含有控件名称的字符串。
- var
- 取得属性值的整数变量。
- value
- 在属性中设定的整数表达式。
値
0 – Left
1 – Top
2 – Right
3 – Bottom
默认:TOP
另见
TabControl
示例
'获取当前设置的选项卡的布局
GGet frmMain.tabControl1.TabAlignment, alignment
'将选项卡的布局设置为0(Left)。
GSet frmMain.tabControl1.TabAlignment, 0
← T TabEditor属性 →