GRIZO

Contents


"Grizo" is used to grey out and make it impossible to load all or part of the fields in a mask. Unlike Diszo,"Grizo" stipulates that these fields do not have any meaning in the context.

Syntax

Grizo [ class ] [ field_list ]

Parameters

Element

Description

Restrictions

class

In the absence of this parameter, the default mask is used.

This class describes an open mask by the mask order.

field_list

List of id_zones separated by the character ','.
By default, all the fields in the mask are involved.

None

id_zone

Identification of a field zone under one of the following forms:
variable_name
variable_name '('
exp_ind ')'
int_zones
rank_no
int_ranks
"="expr_c

The fields where the name is given must be defined in the corresponding mask.

exp_ind

Integer expression where the value is the index of the variable to be displayed.

The index must be in the interval defined by the repetition factor.

int_zones

Field interval, that is to say two field names separated by '-' (minus sign).

The two fields must belong to the corresponding mask.

rank_no

Integer number where the value is the rank number.

1 <= rank_no <= 99

int_ranks

Interval for the ranks, that is to say two rank numbers rank1 and rank2 separated by the character '-'

rank1 <= rank2

expr_c

Alphanumeric expression where the result is a variable name or a rank

 

Examples

# Greying-out in the current mask, of fields of rank 1, 15 to 30
# and of fields CHP1, VAR to FIN.
Grizo 1, 15-30, CHP1, VAR-FIN

# Greying-out in the abbreviation mask ABC, of fields of rank 20 to 30
# and of field TOTO for index I+1.
Grizo [ABC]20-30, TOTO(I+1)

# Greying-out of all the fields of the abbreviation mask ABC.
Grizo [ABC]

Description and comments

"Grizo" is used to display all or part of the fields in a mask and thus to indicate that the fields do not have any meaning in this context.

"Grizo" is used for fields declared as being enterable in the mask. It becomes impossible to enter these fields and they are displayed in a grey font on a grey background. There is no On-focus and no contextual menu in these fields.

When fields are greyed-out via "Grizo", the greying-out order being used always derives from the entry ranks and the position of the fields on the screen. As a consequence, in order to change this greying-out order, it is necessary to use several "Grizo" instructions.

Similarly, when giving an interval of the fields to be greyed-out, it is the entry order that is considered to determine which are the fields in the interval.

A grid can be fully or only partly greyed-out. The syntaxes are as follows:

In a grid, a greyed-out field appears in an Italic grey font. Yet if the field has a color attribute via pcolor, its color is kept.

New to version 130

It is now possible to grey-out a cell or a column.

Associated keywords

Mask - Default - Actzo - Diszo - Affzo - Effzo


Contents

Copyright © Sage 1999 - 2007