以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]如何判断选中的目录树节点下有没有子节点 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=90538) |
-- 作者:gpmlimeng -- 发布时间:2016/9/16 1:18:00 -- [求助]如何判断选中的目录树节点下有没有子节点 如何判断选中的目录树节点下有没有子节点 |
-- 作者:cbt -- 发布时间:2016/9/16 7:47:00 -- \'AfterCheckNode 事件 \'改变节点复选框状态后执行。 If e.node.Checked = True Then MessageBox.Show(e.Node.Nodes.Count) End If |
-- 作者:狐狸爸爸 -- 发布时间:2016/9/16 8:46:00 -- if e.Node.Nodes.Count > 0 then 有 else 没有 end if |