Trapping control key

  • Thread starter Thread starter Viswanathan S
  • Start date Start date
V

Viswanathan S

Hi All,

How to trap control key in datagrid for multiple row selection. How to use
the keydown for trapping the control, shift, alt keys.

Thanks in Advance
S. Viswanathan
 
VisWanathan,

I assume you mean a WindowForm datagrid. That is not build for multiple row
selection. It is build to use the data in its datasource, not the data on
the screen.

For multiple row selection and not a connection with a underlaying
datasource is the listview.

I hope this helps,

Cor
 
Viswanathan S said:
How to trap control key in datagrid for multiple row selection. How to use
the keydown for trapping the control, shift, alt keys.

Take a look at 'Control.ModifierKeys'.
 
Back
Top