Dim clbx As WinForm.CheckedListBox = e.Form.Controls("CheckedListBox1") If clbx.SelectedIndex <= 0 Then msgbox("不能再上移") Else Dim idx = clbx.SelectedIndex clbx.Items.Insert(idx-1,clbx.SelectedValue) clbx.Items.RemoveAt(idx+1) clbx.SelectedIndex = idx-1 End If