|
-
Jul 18th, 2002, 12:02 AM
#1
Thread Starter
Registered User
need major help, besides for the lack of sleep of this problem
i am trying to get a keypress event on a datagrid, i don't want the user to hit the delete key. i have certain instances when i need to select a few rows in the grid, and when the user hits the delete key, the selected rows are deleted, which is horrible. i have tried to use a datagrid keypress event, but it only works on the actual datagrid, it doesn't handle rows and columns. Is it possible to write an event handler for the specific column in question? if so, does anyone know how to do so. i am open to any suggestions. i also thought, it would be easy if you could just disable the delete key for the specific function, because the datagrid is readonly, except in my edit mode. it would be great if i could just assign the delete key to a spacebar or something.
thanks,
jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|