BOXCLR |
Boxclr is used to delete a previously-declared dialogue box, redrawing the screen.
Boxclr class
|
Element |
Description |
Restrictions |
|
class |
Indicates the abbreviation for a dialogue box. |
The class must exist |
# entry in a window:
# variable recovering selected
button
Local Integer RESU
# definition of input box
# with mask opened
Local Inpbox Mask ZMOTSA00 [ZM00]
& Button "END"
& With "E"
& Coded 1901
& Titled "Box title"
& As [BOI1]
$MENU
# display of window
Boxact [BOI1]
# saisie dans la fenêtre
Boxinp [BOI1] using RESU
# action according to button
activated
Case RESU
when 1901 Goto FIN
when Default Goto FIN
Endcase
Goto MENU
# deletes box
Boxclr [BOI1]
# deleting and closing box and mask
Close Local Inpbox [BOI1]
Close Local Mask [ZM00]
Boxclr is used to delete the content of an Inpbox, Dlgbox, or Mesbox dialogue box, while restoring screen content.
These OBJects must already have been declared, with an identifying abbreviation so that they can then be deleted.
|
Error |
Description |
|
ERCLAS ( 7) |
The class given is [X:abv] rather than [abv]. |
|
NOFEN (36) |
Non-existent window. |
Inpbox - Dlgbox - Mesbox - Boxact - Boxinp
|
|