To assign actions to PF keys

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. In Online Express, click File > Action/Event. The Action/Event Browser appears.
  2. On the Control list, click KEYS.
  3. On the Control Name list, double-click PF1 - PF12, PF13 - PF24, or Special Keys for the PA keys and the Clear key. The Action/Event Editor appears, showing the keys in the Event field.
  4. Click the event you want to assign actions to.
  5. From the Action drop-down list, click the action you want to perform at the event.
  6. In the Argument field, type the appropriate argument for the event or click an argument from the drop-down list. See Actions for a list of actions and appropriate arguments.
  7. In the Argument field, type the appropriate argument for the event or click an argument from the drop-down list. See Actions for a list of actions and appropriate arguments.
  8. If your argument requires that you write new or modify existing code:
    • For Global Code, User Rule, or Perform, click Action/Event > Edit Misc User Code and type the code into your editor.
    • For Local Code, click Edit Code and type the code into your editor.
  9. Save the code and exit the editor.
Note:
  • The Enter key on the keyboard is the default function processing key. It causes your program to test the action value that the end user enters, and executes the action. To override the Enter key as the default action processing key, on the Special Key window, click the overriding key name in the Processing Key field. The processing key causes your program to test the action value that the end user has entered, and then execute the action.
  • For information on coding Global Code, User Rules, Performs, or Local Code, see Types of Custom Code.