首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

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

2012-02-08 
请问怎么取TAB控件的当前页签?一个TAB有多个页签,如何取得当前页签呢?谢谢。[解决办法]tab_1.SelectedTabTh

请问怎么取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

热点排行