BOXCLR

Contents


Boxclr is used to delete a previously-declared dialogue box, redrawing the screen.

 

Syntax

   Boxclr class

 

Parameters

Element

Description

Restrictions

class

Indicates the abbreviation for a dialogue box.

The class must exist

 

Examples

   
 # 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]

 

Description and comments

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.

 

Associated errors

Error

Description

ERCLAS ( 7)

The class given is [X:abv] rather than [abv].

NOFEN (36)

Non-existent window.

 

Associated key words

Inpbox - Dlgbox - Mesbox - Boxact - Boxinp


CONTENTS


Copyright © Sage 1999 - 2007