请问怎么取TAB控件的当前页签?

zzmm113 2011-08-24 01:40:58
一个TAB有多个页签,
如何取得当前页签呢?



谢谢。
...全文
123 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
zzmm113 2011-08-24
  • 打赏
  • 举报
回复
不好意思,我看错了。
yyoinge 2011-08-24
  • 打赏
  • 举报
回复
int li
li = tv_1.selectedtab
zzmm113 2011-08-24
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xiaobn_cn 的回复:]
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 r……
[/Quote]


selectTab(2)是设定第二个页签被选中的吧?
我的意思是,已经有一个页签被选中,我想知道是哪个页签,也就是SelectTab(2)的2,
怎么得到这个值?


谢谢。

xiaobn_cn 2011-08-24
  • 打赏
  • 举报
回复
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.

1,075

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧