RadioButton problem

  • Thread starter Thread starter mack
  • Start date Start date
M

mack

There may be a design error in the VB 2005 Radio Button: Label a button
"RadioButton&x" (x or any other letter) where "&" denotes that the alt-x key
combination is supposed to evoke the button. With VB 2005, the button
responds to the letter without simultaneously pressing alt. This causes a
problem... if the user presses that key for any unrelated reasons, the
button click is evoked... not usable. Was this an error on the part of MS?
 
mack said:
There may be a design error in the VB 2005 Radio Button: Label a button
"RadioButton&x" (x or any other letter) where "&" denotes that the alt-x
key combination is supposed to evoke the button. With VB 2005, the button
responds to the letter without simultaneously pressing alt. This causes a
problem... if the user presses that key for any unrelated reasons, the
button click is evoked... not usable. Was this an error on the part of MS?

This behavior is by design, and it will only work if a control which does
not expect character input like a textbox has the focus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top