How do I allow the user to multi-check with the CheckedListBox through the 'shift' key?

后端 未结 7 1678
再見小時候
再見小時候 2020-12-30 08:41

Say that I have a CheckedListBox with items \"1\", \"2\", \"3\", \"4\", and \"5\" in that order and I want to select \"2\", \"3\", and \"4\" by selecting \"2\" then holding

相关标签:
7条回答
  • 2020-12-30 09:23

    It looks like multiple selection is not supported for the CheckedListBox control (See MSDN). It does support multiple checkboxes being checked, but not multiple items being selected (highlighted) at once.

    I agree with the other answer that a ListView is probably the best way to get both checkboxes and multiple selection.

    0 讨论(0)
提交回复
热议问题