@@26 Message box action definition

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

Syntax

syntax-messageboxactiondefinition

Action button

Control character Action
A Abort
C Cancel
E Enter
H Help
I Ignore
N No
O OK
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

    Syntax: FIELD REFERENCE; VALUE RETURNED

    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.
  • TERMINATE WINDOW action

    Syntax:T

    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.

Example

#114;1;144;144;144;01;00;79;

@@25;W;Y;System_message_99114W;

@@26;Y;F0;

@@26;N;F3;

@@26;C;F3;

Dimension_of_list_is_reached.

Max_dimension_is_*1___&lines.

_

Clear_list_and_continue?

_

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