ActiveX
To change or turn off the F2, F3, and F4 action keys
Note: Spread provides multiple ways to navigate within the control. We recommend that you do not choose a key sequence for these actions that Spread uses for navigation. For a list of navigation keys that Spread uses, see Advanced Navigation. |
-
To change the F2, F3, or F4 action key, call the SetActionKey function or method and set the parameters as follows:
- Set the wAction parameter to 0 (Clear), 1 (Current), or 2 (Popup).
- Set the fShift parameter to TRUE or FALSE to indicate whether the Shift key is pressed.
- Set the fCtrl parameter to TRUE or FALSE to indicate whether the Ctrl key is pressed.
-
Set the wKey parameter to the ASCII value of the key you want to use.
Note: If you want to use alphabetical keys, you must use uppercase letters for this parameter.
- To turn the F2, F3, or F4 action key off, call the SetActionKey function or method and set the parameters as follows: