Foxtable(狐表)用户栏目专家坐堂 → 请教窗口TreeView 节点展开问题


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

主题:请教窗口TreeView 节点展开问题

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


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

for each nd as winform.treenode in trv.nodes
if nd.text = cstr(date.today.year) then
nd.Expand()
for each nd2 as winform.treenode in nd.nodes
if nd.text = cstr(date.today.month) then
nd2.Expandall()
end if
next
exit for
end if
next

 回到顶部