Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
The commandChar
property returns or sets the character that you'd press with the Command key as the keyboard shortcut (commonly called the Command-key equivalent) for a menu item.
If the menu item has no Command-key equivalent, the property returns empty
. Otherwise, it returns the character.
If more than one menu item use the same command character, the menu item on the menu farther to the right takes precedence.
An expression that evaluates to one of the following:
For example:
An expression that evaluates to one of the following:
For example:
An expression that yields a single character.
For example: