9 9 Exit and Cancel Key Handling in Action Bars

LANSA Application Design

9.9 Exit and Cancel Key Handling in Action Bars

When an action bar process is invoked, the exit and cancel keys are handled as follows:

  • Unless the Exit facility is globally disabled at the partition level, it will be enabled and treated just as if the exit function was used from a process menu.
  • Unless the Cancel facility is globally disabled at the partition level, it will be enabled and when used from the action bar, treated just as if the cancel function was used from a process menu. When used from a pull down, it cancels the pull down only, causing the action bar to remain active on the screen panel.
  • Using the automatic Exit choice from the left most pull down is functionality equivalent to using the Exit function key.

 

When an RDML function executes a DISPLAY or REQUEST command that presents a panel body and an action bar, the exit and cancel keys are handled as follows:

  • Exit key enablement is determined from the EXIT_KEY parameter. If exit is used from the action bar, it is handled normally by the RDML logic as specified by the EXIT_KEY parameter.
  • Cancel key enablement is determined from the MENU_KEY parameter. If Cancel is used from the action bar, it causes the action bar to be canceled and the panel body to be redisplayed.

    If cancel is used from a pull down, it cancels the pull down only, causing the action bar to remain active on the panel.
  • Using the automatic Exit choice from the left most pull down is functionality equivalent to using the Exit function key.