BOXACT |
Boxact displays a dialog box declared beforehand.
Boxact class
|
Element |
Description |
Restrictions |
|
class |
Describes the abbreviation of a dialog box |
The class must exist. |
# Entry in a window:
# Variable that retrieves the
button selected
Local Integer RESU
# Definition of the entry box
# with opening of the screen
Local Inpbox Mask ZMOTSA00 [ZM00]
& Button "END"
& With "F"
& Coded 1901
& Titled "Box Title"
& As [BOI1]
$MENU
# Display of the window
Boxact [BOI1]
# Entry in the window
Boxinp [BOI1] using RESU
# Action according to the activated
button
Case RESU
when 1901 Goto FIN
when Default Goto FIN
Endcase
Goto MENU
# Closing of the box and screen
Close Local Inpbox [BOI1]
Close Local Mask [ZM00]
Boxact displays the contents of a dialog box of the Inpbox, Dlgbox, or Mesbox type.
These OBJects must have been declared beforehand with an abbreviation that identifies them, in order to view them.
|
Error |
Description |
|
ERCLAS ( 7) |
The given class is [X:abv] instead of [abv]. |
|
NOFEN (36) |
Window does not exist |
Inpbox - Dlgbox - Mesbox - Boxinp - Boxclr
|
|