@@26 Message box action definition

This function is used to determine what actions message box buttons must execute.



Action button

Control character Action
A Abort
C Cancel
E Enter
H Help
I Ignore
N No
R Retry
Y Yes

Field ID

The field ID is the direct address to data. The field ID consists of a starting control character followed by a reference number and ends with the ending control character ampersand (&) or a new starting control character.
Note: All control characters are replaced by a space when you display the panel on-screen or print it out.

Value field

Shows the values/columns in the list box where the calculations is performed.

Special action

  • RETURN VALUE action


    This action returns values to the field described by the field reference The control character in the field reference gives the field type.

  • REXX call action

    Syntax: Cx

    "x" is the REXX command number with a range from 1 to 99.

    In the start-up CMD file, you can specify environment variables to define the REXX command file attached to the REXX command number, such as SET REXXC1 = C:\REXX\BACKUP.CMD. If no environment variables are defined, then the default REXX command file names are REXXC1.CMD, REXXC2.CMD, and REXXC99.CMD.

  • FUNCTION KEY action

    Syntax: Fx

    where "x" is defined as the function key number to be simulated. It can contain be one or more digits The action simulates the use of the key and is performed immediately such that the rest of the special function definition is skipped. F0 is treated as if the Enter (Return) key was pressed and F3 is treated as the Escape (Esc) key.

  • PANEL action

    Syntax: Sx

    "x" is a positive number, interpreted here as a panel number. Without returning to the calling program, the panel system handles the panel that is specified in the action as if a call was made to display the panel. You can divide one panel into other panels without changing the calling program.
    Note: The data arrays are the same for the whole series of panels.


    The window is terminated.

  • DELAY action

    Syntax: Wx

    Where "x" is a positive number interpreted as a delay in seconds.

    The panel system waits the specified number of seconds before resuming.












Note: Use @@26;C;F3; if you want the action to occur when the message box system menu is closed.