GRIZO |
"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.
Grizo [ class ] [ field_list ]
|
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 ','. |
None |
|
id_zone |
Identification of a field zone under one of the following forms: |
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 |
|
# 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]
"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:
- grey the grid out: Grizo [M]NBLIG or NBLIG is the variable a thte bottom of the grid.
- Grizo [M]xx where xx is the rank no. in the block
- grey a column out: Grizo [M]CHAMP
- grey a cell out: Grizo [M]CHAMP(nolign-1)
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.
It is now possible to grey-out a cell or a column.
|
Copyright © Sage 1999 - 2007 |