Foxtable(狐表)用户栏目专家坐堂 → 打开新页面问题


  共有1583人关注过本帖树形打印复制链接

主题:打开新页面问题

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107850 积分:548607 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2016/10/10 9:26:00 [显示全部帖子]

SelectedIndexChanged事件

Dim tab As WinForm.TabControl = e.Form.Controls("TabC窗口")
Dim tac As WinForm.TabControl = e.Form.Controls("TabC菜单")
If tab.SelectedPage IsNot Nothing
    Select tab.SelectedPage.Name
        Case "应用中心"
            tac.SelectedIndex = 0
        Case "page2"
            tac.SelectedIndex = 1
        Case "page3"
            tac.SelectedIndex = 2
        Case "窗口2"
            tac.SelectedIndex = 3
    End Select
End If
[此贴子已经被作者于2016/10/10 9:26:20编辑过]

 回到顶部