Handling a Single Screen which Shows Multiple Modes

RAMP-NL

Handling a Single Screen which Shows Multiple Modes


In System i applications it is possible that a single screen handles multiple modes.

For example, an application can have a single screen which allows ADD, CHANGE, DISPLAY and DELETE. 

To be able to handle such screens in RAMP, the screens must have a unique screen ID in all the modes they can appear in and they must be uniquely defined as separate destination screens using newlook Designer.

If the mode is displayed on the screen, you can include it in the screen ID in newlook Identify so that the screen ID automatically changes according to the mode.

Also, the attribute bytes (the grey squares) surrounding a field in newlook Identify distinguish whether a field is input capable or not. Newlook is able to recognise the state of the attribute bytes and they can be used as part of the screen ID.

For example if you have two identical screens where the only difference is that one screen is input capable and the other one only displays information, you can use a single field with the surrounding attribute bytes as the screen ID.