Skip to content

KeyBindings Collection Members

See Also

KeyBindings Overview

See Also


KeyBindings Collection Members

Public Methods

Public Method Add
Public Method AddShortcut
Public Method Delete
Public Method DeleteAll
DeleteAll method removes all keybindings that have been added with the Add method.
Public Method FindShortcut
Public Method SetKeyNameText

Method Description
Add Adds a key binding (accelerator key) for a command. Allows keys in String format.
Delete Deletes a key binding (accelerator key) for a command.
FindShortcut Returns a shortcut for the specified command.
SetKeyNameText Set a custom string description to localize a shortcut key text description.

Public Properties

Public Property AllowDoubleKeyShortcuts
Public Property Count
Public Property DisableOnCapture
Public Property EnableCustomShortcutText
Public Property Enabled
Public Property Shortcut
Public Property UseSystemKeyNameText

Property Description
AllowDoubleKeyShortcuts Enables or disables the use of double key shortcuts (i.e. Ctrl+O, Ctrl+P).
Count Total number of keybindings.
DisableOnCapture Specifies whether the command bars will process keybindings while another control is capturing input.
EnableCustomShortcutText Enables/disables shortcut usage.
Shortcut Collection of shortcut items.
UseSystemKeyNameText Gets/sets whether system localized shortcut text will be used for shortcuts.

Events

Public Event BeforeAdd
Public Event BeforeRemove
Public Event BeforeTranslate

Event Description
BeforeAdd Occurs when a shortcut key binding is added to a command using the command bars customization dialog.
BeforeRemove Occurs when a shortcut key binding is removed from a command using the command bars customization dialog.
BeforeTranslate Occurs when a shortcut key binding/accelerator is used.

See Also

KeyBindings Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.