读书人

请教如何取TAB控件的当前页签

发布时间: 2012-02-08 19:52:21 作者: rapoo

请问怎么取TAB控件的当前页签?
一个TAB有多个页签,
如何取得当前页签呢?



谢谢。

[解决办法]
tab_1.SelectedTab

The SelectedTab property specifies the index number of the selected tab page in the tab control. As the user selects tabs in the Tab control, the value of SelectedTab changes to reflect the currently selected tab.
[解决办法]
int li
li = tv_1.selectedtab

读书人网 >PB

热点推荐