以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 怎么样获取 CheckedListBox 中选 中的项目? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=183638) |
-- 作者:lianghanyu -- 发布时间:2022/11/10 17:10:00 -- 怎么样获取 CheckedListBox 中选 中的项目? If Forms("推送多人").Opened = True Then Dim lst As WinForm.CheckedListBox = Forms("推送多人").Controls("CheckedListBox1") Dim Names As List(Of String) = lst.SelectedItem For i As Integer = 0 To 2 MessageBox.Show(names(i)) Next End If |
-- 作者:有点蓝 -- 发布时间:2022/11/10 17:20:00 -- 参考:http://www.foxtable.com/webhelp/topics/0950.htm |
-- 作者:lianghanyu -- 发布时间:2022/11/10 17:24:00 -- 明白 了,谢谢! |