Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]如何实现TreeView赋值并展开赋值节点

1楼
小美菜 发表于:2024/11/16 15:00:00
能否实现TreeView赋值,并展开赋值节点位置,编写好与FullName(FullPath)格式相同字符串,并赋值给FullName(FullPath)
2楼
有点蓝 发表于:2024/11/16 16:07:00
Dim FullName As String = "父节点1\父节点2\子节点"
For Each n As WinForm.TreeNode In tr.AllNodes
    If n.FullName = FullName Then
        tr.SelectedNode = n
        n.EnsureVisible
        Exit For
    End If 
Next 

共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01953 s, 2 queries.