GML::LUM_MODE - Enable/Disable Look-up Manager Auto Hide Feature
Syntax
CALL "GML::LUM_MODE"
Description
This procedure enables or disables the auto-hide feature of the Look-Up Manager. The LUM normally manages the hiding of a look-up control based on events that occur within the application. If it is required that the application manage the hiding of the look-up, then the LUM_MODE procedure is executed to change the mode from auto-hide to non auto-hide.
This feature is associated with each individual look-up control. That is, if there are two controls, control 1 may have an auto-hide mode while control 2 is non auto-hide.
The value in GML_TPL.ARG% identifies the look-up control ID, the value in GML.SET% indicates which grid set the look-up control ID is assigned to, and the value in GML_TPL.OPTION% determines the look-up control management mode.
A GML_TPL.OPTION% value of 1 indicates the LUM manages the auto hiding of the control, while a value of 2 indicates the application will manage the hiding of the control.
Example 1
Hiding of control is managed by application.
4300 GML.SET%=1
4310 CALL "GML::TPL_PREP"
4320 GML_TPL.OPTION%=2
4330 GML_TPL.ARG%=122
4340 CALL "GML::LUM_MODE"
Example 2
Hiding of control is changed back to be managed by the LUM.
4300 GML.SET%=1
4310 CALL "GML::TPL_PREP"
4320 GML_TPL.OPTION%=1
4330 GML_TPL.ARG%=122
4340 CALL "GML::LUM_MODE"