Programming with Reflection

image\rwnprg32.gif SetAPLKeyMap method

 

Syntax object.SetAPLKeyMap Controls, Key, Commands

 

Description

Maps a keystroke to a Reflection command. This mapping is in effect when Reflection is in APL mode. To Turn APL mode on and off, press <Alt+Backspace>.

Arguments

Controls Argument type: Enumeration
The optional modifier keys associated with the specified keystroke or mouse chord. A keystroke consists of a primary key and one or more optional modifier keys—Alt, Ctrl, and Shift. The various possible combinations of modifier keys are defined by the values for this argument. Use rcNormal when there are no modifier keys in this keystroke.

 rcNormal
rcAlt
rcCtrl
rcShift
rcAltShift
rcCtrlShift
rcAltCtrl
rcAltCtrlShift

Key Argument type: String
The primary key or mouse chord you are mapping. See Keys for Reflection Commands for a list of key names you can use as key arguments. This string can be up to 260 characters long.

Commands Argument type: String
The Reflection method, or sequence of methods, to be executed when the new key is pressed. Methods that return values can't be used. Use a space to separate multiple methods. Use double quotation marks around string arguments. For example, the following strings are all valid for this argument:

      "Connect"

      "TransmitAnsi ""Hello"" TransmitTerminalKey rcIBMEnterKey"

      "RunMacro ""MyMacro"", """""

 This string can be up to 260 characters long.

Note: APL mode is supported only in 3270 terminal sessions.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command