pui.fieldExit( minus )

This function acts like the 5250 field exit key.  It right-adjusts the field, and moves the text cursor to the next input element.


  • minus - optional.  If passed while in a Genie 5250 session, the value will be converted to negative, like a traditional field minus key.  (The minus parameter cannot be used in a rich display file.)


Add a button to the screen, and set the 'click' event for your button as follows:


Or, from a button on a Genie 5250 screen, code the following to behave like the field minus key:


Unable to render {children}. This macro only works on pages.