Disable events in Datagrid.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,
I am working on the winform datagrid. Now I have to disable the cursor
movement in the datagrid using teh Arrow keys on keyboard and also I want to
disable the mouse wheel (the scroll button) for the datagrid. Please help me
in this regard. Its urgent.

I will be waiting for the reply...

Thanks in Advance,
GS
 
You can acheive this by setting 'Enabled' property of the data grid to
'false'

Reshma
 
But the datagrid is not completely Read Only. I have a check box which has to
work.
I just want to disable cursor movements and the mouse wheel movements
 
Hi,

what if you derive from datagrind, intercept these events and do nothing
with them?
 
Back
Top