Important Observations

  • A function key with the Enable Button checkbox checked but not the Enable Key checkbox functions as a Framework only button. The action of Framework buttons is handled entirely on the client and no keystrokes are sent to the 5250 application. See Function Key Enablement.
  • The case statement for a function key controls what happens when the key is used from the keyboard or its button is clicked.
  • You can use the SETKEYENABLED Function to dynamically enable and disable buttons and function keys.
  • You can use the OVERRIDE_KEY_CAPTION_SCREEN Function or the OVERRIDE_KEY_CAPTION_ALL Function to dynamically change the text on Framework buttons. The OVERRIDE_KEY_CAPTION_ALL function can also be used to set all function key captions to another language in a multilingual application.

 
What You Should Know

  • How to add value to a modernized 5250 application using Framework buttons.
  • How to enable a Framework button and modify the ButtonClick function to provide actions when the button is clicked.
  • How to add functions to a form script that are available from anywhere inside the form script.


  • No labels