Control Bindkey Display on Menus
The following bindkeys when assigned to menu commands appear to the right of the command on the menu:
-
Alphanumeric keys:
A–Z,0–9 -
Function keys:
F1–F35 -
Named keys:
Return,Escape,Delete,BackSpace,Space,Tab,Up, keypad keys, keys markedRandL,EscapeandDelete, andBackSpaceare abbreviated in the menu display as Esc and Del, but they must be spelled out with correct use of uppercase and lowercase in the key definition. - Punctuation and symbol keys
-
Any of the above keys in combination with the modifiers
Alt,Shift,Ctrl, andMeta
These bindkeys are not displayed on menus:
The menus show both default bindkeys and keys you assign. The CIW has no default bindkeys of the type that appear on menus. You do not see any bindkeys next to CIW commands unless you assign them.
-
On the CIW input line, type the following command to turn the menu bindkey display off:
hiGetCIWindow( )->displayMenuBindkeys=nil
Bindkey assignments do not appear unless the SKILL function you assign to the key matches the SKILL function, including blank spaces and capitalization, used by the menu command. For example, if the menu uses the following function which has a space between the first parenthesis and the getCurrentWindow function:
hiGetBannerMenus( getCurrentWindow())
hiGetBannerMenus(getCurrentWindow())
The binding works, but the bindkey assignment does not appear.
If several bindkey combinations are bound to a menu command, the combination requiring the least number of characters is the one displayed. If several combinations using the same number of characters are bound to a command, the most recent one is displayed.
Here are some common assignments:
| Bindkey Assignment | Keys Used | Menu appearance |
|---|---|---|
Related Topics
Rules for Bindkey Use with Keypads
Return to top