BOXACT

Contents


Boxact displays a dialog box declared beforehand.

 

Syntax

   Boxact class

 

Parameters

Element

Description

Restrictions

class

Describes the abbreviation of a dialog box

The class must exist.

 

Examples

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

 

Description and Comments

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.

 

Associated Errors

Error

Description

ERCLAS ( 7)

The given class is [X:abv] instead of [abv].

NOFEN (36)

Window does not exist

 

Associated Keywords

 InpboxDlgbox - Mesbox - Boxinp - Boxclr


CONTENTS


Copyright © Sage 1999 - 2007