我怎样才能在我的树形视图中选择一个节点 [英] how can i make a node in my treeview be selected

查看:43
本文介绍了我怎样才能在我的树形视图中选择一个节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用我的treeview控件,我有一个搜索按钮.当我获得节点ID时,如何选择该节点.我想要代码.

解决方案

<为什么你甚至不能尝试编写自己的代码?您是否因懒惰而无法做的工作而得到报酬,标记或以其他方式得到回报?树视图上有一个findnode方法,您应该能够找到该节点并在代码中选择它.如果您什至不能 解决方案

Why can''t you even try to write your own code ? Are you being paid, marked, or otherwise rewarded for the work you''re too lazy to try to do ? There''s a findnode method on the treeview, you should be able to find the node and select it in code. If you can''t even do this[^], you should probably give up on programming.


这篇关于我怎样才能在我的树形视图中选择一个节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆