Home All Groups Group Topic Archive Search About
Author
20 Sep 2006 2:57 AM
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?

Author
20 Sep 2006 3:50 AM
Cor Ligthert [MVP]
Mack,

There is a special part on Connect Microsoft for this.

http://connect.microsoft.com/Main/content/content.aspx?ContentID=2220

Cor

Show quoteHide quote
"mack" <hp223m***@hotmail.com> schreef in bericht
news:4510ae5e$0$47249$ae4e5890@news.nationwide.net...
> 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?
>
>
>
>
Author
20 Sep 2006 12:17 PM
Herfried K. Wagner [MVP]
"mack" <hp223m***@hotmail.com> schrieb:
> 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.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>