|
SmartMenuXP
Reference
Returns the access key asociated with the menu item.
Syntax
object.AccessKey(menuID)
The AccessKey property syntax has these parts:
| Part |
Description |
| object |
An object expression that evaluates to a SmartMenuList object. |
| menuID |
A numeric expression that evaluates to a menu item. |
Remarks
Every menu item can have an access key. These are defined on the Caption
property by preceding a letter with the symbol &. Access keys are a
quick way of selecting menu items and have always the syntax ALT+Key.
.MenuItems.Add
"keyFile", , , "E&xit", , vbAltMask, vbKeyQ
The access key for the example above would be
ALT+X
|