Foxtable(狐表)用户栏目专家坐堂 → 发现一个代码应用速度问题


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

主题:发现一个代码应用速度问题

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


加好友 发短信
等级:八尾狐 帖子:1812 积分:12993 威望:0 精华:14 注册:2008/10/11 18:07:00
  发帖心情 Post By:2013/3/22 18:37:00 [显示全部帖子]

Dim tr As WinForm.TreeView = Forms("窗口1").Controls("TreeView1")
Dim nd As WinForm.TreeNode

tr.StopRedraw
For Each ndd As winform.treenode In tr.allnodes
    If ndd.text.contains("0:00:00")
        ndd.text = ndd.name.replace("0:00:00","")
    End If
Next
tr.ResumeRedraw

 回到顶部