检测Treeview中的更改 [英] Detect change in Treeview

查看:56
本文介绍了检测Treeview中的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有一个形式的Treeview.我可以添加一个子节点,删除节点,通过在Treeview中创建一个子文件夹来移动一个子节点,还可以更改任何子节点的文本.

如何以编程方式确定是否发生了这些事件/更改之一?

致谢

Hello,

I have a Treeview in a form. I can add a child node, delete nodes, shift a child node by creating a subfolder in the Treeview and also change text of any child node.

How can I determine programmatically, whether or not one of these events/changes was made?

Thanks & Regards

推荐答案

看看这个文章,尤其是事件"部分,您将在其中找到基于控件所执行的操作所需的所有操作.
Have a look at this article, especially the ''Events'' section where you will find all that you need to interact with your control based on actions applied to it.


这篇关于检测Treeview中的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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