By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Trapping control key

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Nov 21 '05 #2

P: n/a
"Viswanathan S" <vi**@ewaksoft.com> schrieb:
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'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.