|
-
Nov 24th, 2005, 11:10 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] No focus to command buttons!!!
Hi, does any one know how to create a form where the command buttons are not given focus. I am trying to create a calculator that accepts keyboard accelerators.
I have changed the forms KeyPreview setting to True and all of the other keyboard shortcuts work except the Return/Enter key. Every time I press these keys, instead of the configured event from running, it just presses the selected command button. This does not happen on Windows Calculator so it must be possible to change. I have already changed the buttons' TabStop property to False but this has no effect.
Please help! Thanx in advance!
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
|