OPTION


This predefined field can be used either to set an option in a manner transparent to the end user, or to intercept the end user’s option selections. If statements are used to set OPTION to a specific value, APPX will behave as though the user had selected that option. The field can be intercepted only in the Option Intercept event points, and can be intercepted or set either at the frame level or the image level. To set this field, use the Pre-Display or Option Intercept event points.

          IF       --- OPTION                     EQ     USER 99
    T     RUN      --- PROCESS NAME                                  END? N  FAIL 0

Default Value: Whatever option the user has selected.

Valid Values: USER 0 through USER 255, SCAN, SELECT ACCESS PATH, PREVIOUS ACTIVITY, NEXT RECORD, REDISPLAY, INSERT TEXT, END PARAGRAPH, ADD MODE, DELETE MODE, INQUIRE MODE, CHANGE MODE, SET ENTRY ATTRIBUTES, DIRECT PROCESS 1, DIRECT PROCESS 2, END, HELP ITEM, PRINT SCREEN, CANCEL, SHOW MESSAGES, HELP, RETURN, ACKNOWLEDGE DELETE, SCROLL FIRST, SCROLL LAST, SCROLL PREV, SCROLL NEXT, SCROLL UP, SCROLL DOWN