Foxtable(狐表)用户栏目专家坐堂 → 如何遍历WinForm.TopicBar的每一个项目


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

主题:如何遍历WinForm.TopicBar的每一个项目

帅哥哟,离线,有人找我吗?
ljh29206
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:六尾狐 帖子:1359 积分:12010 威望:0 精华:0 注册:2012/3/5 11:32:00
如何遍历WinForm.TopicBar的每一个项目  发帖心情 Post By:2015/10/14 9:36:00 [只看该作者]

        If Typeof c Is WinForm.TopicBar Then
            Dim trv As WinForm.TopicBar  = f.Controls(c.name)
            For Each page As WinForm.TopicPage In trv.Pages
            For Each a As WinForm.TopicLink In page
            output.show (a.text)

             Next
            Next

 

这样写错的! 不懂怎么写!


 回到顶部
帅哥哟,离线,有人找我吗?
ljh29206
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:六尾狐 帖子:1359 积分:12010 威望:0 精华:0 注册:2012/3/5 11:32:00
  发帖心情 Post By:2015/10/14 9:47:00 [只看该作者]

        Else If Typeof c Is WinForm.TopicBar Then
            Dim trv As WinForm.TopicBar  = f.Controls(c.name)
            For Each page As WinForm.TopicPage In trv.Pages
            For Each nd As WinForm.TopicLink In page.Links
          output.show("OK")

            Next
            Next

 

好了

[此贴子已经被作者于2015/10/14 9:46:39编辑过]

 回到顶部