以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  遍历配置栏子菜单  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=183361)

--  作者:tld
--  发布时间:2022/11/3 1:39:00
--  遍历配置栏子菜单
老师好。
For i As Integer = 0 To ConfigBar.Items.Count - 1
    output.Show(ConfigBar.Items(i).name)
Next 
可以遍历配置栏的一级菜单。如何遍历ConfigBar.Items(1)的子菜单?

谢谢老师!

--  作者:有点蓝
--  发布时间:2022/11/3 9:02:00
--  
For i As Integer = 0 To ConfigBar.Items.Count - 1
    output.Show(ConfigBar.Items(i).name)
For j As Integer = 0 To ConfigBar.Items(i).Count - 1
    output.Show(ConfigBar.Items(i).Items(j).name)
Next 
Next