DISZO |
"Diszo" is used to grey out and make it impossible to load all or part of the fields in a mask. Unlike Grizo,"Diszo" stipulates that these fields have a meaning in the context.
Diszo [ 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.
Diszo 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.
Diszo [ABC]20-30, TOTO(I+1)
# Greying-out of all the fields of the abbreviation mask ABC.
Diszo [ABC]
"Diszo" is used to grey out and make it impossible to load all or part of the fields in a mask. Unlike Grizo,"Diszo" stipulates that these fields have a meaning in the context.
"Diszo" is used for fields declared as being enterable in the mask. It becomes impossible to enter these fields and they are displayed in black letters on a grey background. The on-focus and contextial menu are maintained on these fields.
When fields are greyed-out via "Diszo", 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 "Diszo" 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: Diszo [M]NBLIG or NBLIG is the variable a thte bottom of the grid.
- Diszo [M]xx where xx is the rank no. in the block
- grey a column out: Diszo [M]CHAMP
- grey a cell out: Diszo [M]CHAMP(nolign-1)
In a grid, a greyed-out field appears in a grey font. Yet if the field has a color attribute via pcolor, its color is kept. On fields other than the variable at the bottom of the grid, the Diszo enables neither the on focus nor the contextual menu.
This is a new instruction.
|
Copyright © Sage 1999 - 2007 |