SetKeyCombination Method
Used to set both the KeyCode and CombinationKey simultaneously.
Syntax
object.SetKeyCombination (ComboKey, KeyCode)
Properties
The SetKeyCombination method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
ComboKey |
enumCombinationKey. The control shift part of the key combination. |
KeyCode |
Integer. The ASCII value of the main key of the key combination. |