Skip to content

KeyBindingsCollection - cCJCommandBarSystem

Returns a handle to the cCJKeyBindings object

Type: Function
Return Data Type: Handle

Syntax

Function KeyBindingsCollection Returns Handle

Call Example

Get KeyBindingsCollection to HandleVariable

Description

KeyBindingsCollection returns a handle to a cCJKeyBindings. This is a collection of objects that binds a key to an action.

Key actions are typically assigned to a menu item action using the piShortCutKey property.

There are two distinct methods for assigning shortcut keys. You can assign accelerator keys using the On_key command or you may do this by setting the menu item property piShortCutKey. A cCJKeyBindings object only contains information about the keys assigned using piShortcutKey.

Note that this object is maintained by the cCJCommandBarSystem object and should not be destroyed.

Return Value

Returns a handle to a cCJKeyBindings object