9 Output Operations
Syntax:
POPUP BOX [xpos,ypos,] Image_def [,Return] Image_def: "[Heading] [textlines|...|...][button1|...]"Example:
POPUP BOX "[Heading][Text line #1|Text line #2][YES|NO ]" ---------------- | HEADING | <- header | | | Text line #1 | <- text | Text line #2 | | | | [YES] [NO ] | <- "buttons" ----------------This box consists of 3 parts:
<xpos>and
<ypos>are optional. If the are omitted, the box is centered on the screen. If
<xpos>or
<ypos>is <= 0 then this value will be ignored and default will be used.
You have to specify at least one "button". The user can select a "button" in several ways:
You will get ERRORS 870 to 875 if you specify an invalid box position or an invalid box "image".
NOTE: The screen buffer will be saved and restored. Program execution will be suspended until user selects a "button". In BACKGROUND, the default button will be selected.
NOTE: When the ".driver" attribute is set, the POPUP BOX is mapped to a dialog window.