menu.setCommandKey

Syntax menu.setCommandKey (s)

Params s, a character, is the command key to set.

Action Sets the command key for a menu item.

Returns True.

Examples Create a menu at workspace.testMenu. Select an item in the menu.

target.set (@workspace.testMenu);menu.setCommandKey ('5')

   » true

See Also menu.getCommandKey

Discuss