|
-
Apr 20th, 2004, 02:46 PM
#1
Thread Starter
Hyperactive Member
alt key not pressed
Anybody got a clever way for the access key for a button to not work if the alt key is not pressed? If you call a button &Save and any control on the form that cannot accept text entry is in focus pressing the 's' key will raise the &Save button's click event even if the alt key is not pressed. I've wrapped a button and caugt the click event and mouse up event and checked if the alt key is pressed along with the access key. I then call a Clicked event to use on forms. Works OK but is not very elegant. Any ideas.
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
|