Programming with Reflection

image\rwnprg32.gif GetKeyMapCommandType method

 

Syntax ActionType = object.GetKeyMapCommandType(Modifiers, Key)

 

Description

Returns the type of command associated with the specified keystroke.

Arguments

Modifiers Argument Type: Enumeration
Required
A keystroke consists of a primary key and one or more optional modifier keys¾Alt, Ctrl, and Shift. The possible modifier keys are:

 rcNormalKey

 rcAltKey

 rcCtrlKey

 rcShiftKey

 To specify multiple modifier keys, use the addition operator (+). For example: rcAltKey + rcCtrlKey.

Key Argument Type: String
Required
A string representation of a PC key, such as "K", "F1", or "NumLock." Click here to see a list of keys.

Return

ActionType Return type: Enumeration
A number that indicates the type of action associated with the mapped keystroke. This will be one of the following. See SetKeyMap for details.

 rcNotMapped

 rcBuiltInFunction

 rcTransmitString

 rcVBCommand

 rcVBMacro

 rcRBCommand

 rcRBScript

 rcRCLCommand

 

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command