The recommended approach to dynamically altering the visual content of 5250 screens is as follows:
For example:
Example Function Name | What it might do? |
|---|---|
SHARED.ApplyStandardLayout() | Apply generic application layout rules to any destination screen. Most destination screens would invoke this function in their arrival script, just before making the screen visible. |
SHARED.AttachPromptImages() | Accepts an array of screen field names. It creates a small clickable image beside each named field. 5250 screens that display promotable fields would use this function generically. |
thisScreen.ApplySpecificLayout() | Defined as a function within the definition of a specific 5250 destination screen. Applies layout changes that are specific to this screen. |