Listview CheckBox问题 [英] Listview checkBox problem
本文介绍了Listview CheckBox问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
那里的任何人都可以教我或分享我在用户单击或在Listview中选择其他"时如何启用TextBox
并且如果用户用户取消选中列表视图,则TxtBox变为禁用"
请参见 image @ tinypic [ ^ ].
Can any one there teach me or share how can i enable a TextBox when user click or select a "Other" in Listview
and if user user uncheck a listview the TxtBox become Disable
See the image@tinypic[^].
推荐答案
使用 ^ ],以响应单击复选框的事实.在此事件处理程序中,您应该启用或禁用文本框.
检查示例代码ListView1_ItemCheck1
,以了解如何确定是否选中了该复选框.
Use the ListView.ItemCheck Event[^] to respond to the fact that the check box was clicked. In this event handler you should enable or disable the text box.
Check the example codeListView1_ItemCheck1
to see how to determine whether the check box is checked or not.
这篇关于Listview CheckBox问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文