Listview项目上的事件 [英] events on listview items
本文介绍了Listview项目上的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个listview1和imagelist1
我以编程方式将图像加载到列表视图中
现在我想在每个listview项目上添加事件
解决方案
您可以处理 ^ ]事件.
当您激活"一个项目时,该事件将被调用.
希望它有助于解决您的问题,
listview.itemcommand [ 解决方案
You handle ListView.ItemActivate[^] event.
When you "Activate" an item, then this event will be called.
Hope it help to solve your problem,
listview.itemcommand[^]
这篇关于Listview项目上的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文