CheckedListBox项目连续移动问题 Post By:2018/10/25 21:11:00 [显示全部帖子]
在复选列表框中,移动选中的项目,我用的是
Dim chl As WinForm.CheckedListBox = e.Form.Controls("CheckedListBox1") Dim item As String = chl.SelectedValue Dim idx As Integer = chl.SelectedIndex chl.Items.RemoveAt(chl.SelectedIndex) chl.Items.Insert(idx-1,item) '向上移动