Listview CheckBox问题 [英] Listview checkBox problem

查看:71
本文介绍了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[^].

推荐答案

使用
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 code ListView1_ItemCheck1 to see how to determine whether the check box is checked or not.


这篇关于Listview CheckBox问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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