B
BruceR
I have posted a similar message and am reposting due to no response.
Basically, I need to know why using the ampersand to indicate an
access key for a button makes it so that simply entering the key alone
selects the button. It should be that the user must press Alt + the
access key. Note that this works also, it is just that I need it to
NOT select the button if the user enters JUST the access key.
My problem is that my application has a set of controls that need to
accept data from the user and whenever I type a key that is also an
access key for one of my buttons, that button gets selected.
I tried to create a new application with a form with just buttons on
it to make sure I didn't do anything to interfere with this mechanism.
I used the ampersand to indicate my access buttons and wrote handlers
for each button to display a popup message. Again, simply pressing the
access key alone selected the button. What is going on here? How can I
get this to work as expected where the user must enter Alt + the
access key?
Any tidbits of info are appreciated.
- Bruce
Basically, I need to know why using the ampersand to indicate an
access key for a button makes it so that simply entering the key alone
selects the button. It should be that the user must press Alt + the
access key. Note that this works also, it is just that I need it to
NOT select the button if the user enters JUST the access key.
My problem is that my application has a set of controls that need to
accept data from the user and whenever I type a key that is also an
access key for one of my buttons, that button gets selected.
I tried to create a new application with a form with just buttons on
it to make sure I didn't do anything to interfere with this mechanism.
I used the ampersand to indicate my access buttons and wrote handlers
for each button to display a popup message. Again, simply pressing the
access key alone selected the button. What is going on here? How can I
get this to work as expected where the user must enter Alt + the
access key?
Any tidbits of info are appreciated.
- Bruce