OVERRIDE_BUTTONS_UNDEFINED_SCREENS Function

RAMP-NL

OVERRIDE_BUTTONS_UNDEFINED_SCREENS Function


Applicable to Windows only.

Causes all undefined screens to show the 5250 function key bar.

Syntax

OVERRIDE_BUTTONS_UNDEFINED_SCREENS ()

Parameters

None.

Return Value

None

Remarks

This function turns on the function key bar for all screens in a session, but because function key bars should not appear in defined screens it must be hidden.

To use this special function you must do this:

·      Set the Bottom Mask Height property for the session to 28. All destinations will inherit this mask setting by default.

·      Use the OVERRIDE_BUTTONS_UNDEFINED_SCREENS() function in your sign-on script.

Once the option is turned on it will remain so for the duration of the session.

To show the function key bar for a destination screen, reset the Bottom Mask Height of the destination screen to zero. However, we do not recommend showing the function key bar for destination screens.

Note: when the undefined screen is a pop-up, the screen in the background (even though defined) might also show the function key bar although it will not be usable.

Examples 

OVERRIDE_BUTTONS_UNDEFINED_SCREENS()