Hello. Tell me how you can make a mass selection using only Shift and Ctrl. At the moment, you can massively select the lines with the mouse pressed by datagridview, shift, ctrl.
- Well, why is this necessary? - Qwertiy β¦
- Unfortunately, itβs a long time to explain, but itβs so required. (( - Berianidze Luka
- So ban or do? - Alexander Petrov
- Disable mass selection with the mouse. - Berianidze Luka
- Vanguyu that you crookedly implemented Drag & Drop (instead of dragging, you get a selection) and try to support it with a crutch. Ne? And, by the way, on en.so you asked the question more clearly. - Alexander Petrov
|
1 answer
The DataGridView has a special property, MultiSelect. You do it in False and that's it.
If you want to block interaction with the mouse, then in the CellMouseClick event you can intercept and press and do nothing.
- Not helped. Vseravno allocated mouse. - Berianidze Luka
- one@ αα£ααααα ααααα«α -
ListBoxwith a givenMultiExtendedallowsMultiExtendedto select elements with mouse movement. So decide what you need. - Alexander Petrov - I beg your pardon, I was mistaken) - Berianidze Luka
|