PRB: Can't Use Multiple & (for Access Keys) in VB Menu Control (73372)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q73372 SYMPTOMS
When creating a menu control that uses multiple ampersand characters (&) to
mark the access keys in the caption (for example, &a&b&c&d), the menu will
appear with an underline under the character after the last &. However, the
access key will respond to the character following the first &.
WORKAROUND
Use a single ampersand character per caption.
STATUS
This behavior is by design in the Windows operating environment.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbprb KB73372 |
---|
|