TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
saperus
NA
1
0
Shortcut to a shortcut key (DataGrid + Buttons)
Oct 21 2003 4:41 PM
this is a strange behavior of buttons with shortcut keys, when You have a datagrid on a form and some buttons with shortcut keys. When You click on the datagrid (anywhere but the cells, free space, header or something) and press the shortcut key (without the ALT key pressed) button's action is called. You can easyly recreate this by creating a simple project with datagrid and a button with shortcut key (&Delete in the Text property for example). Then add event handler for rhis button's click event, for example show a message box. Run the app. click anywhere on the datagrid. press the D button (without ALT). The button's action is called. how can I prevent this from happening? Saper(ek)
Reply
Answers (
1
)
Bug while scrolling within a datagrid?
How to handle listview column resize event ?