Diszo

Diszo grays out all or part of the fields in a mask that were previously activated. Unlike Grizo,Diszo stipulates that these fields have a meaning in the contex

This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Syntax

 Diszo [CLASS]Diszo [CLASS] FIELD_LISTDiszo FIELD_LIST

Examples

# Gray out in the current mask the fields of rank 1, 15 to 30# and of fields CHP1, VAR to FIN.Diszo 1, 15-30, CHP1, VAR-FIN# Gray out in the abbreviation mask ABC the fields of rank 20 to 30# and the field TOTO for index I+1.Diszo [ABC]20-30, TOTO(I+1)# Gray out all the fields of mask with the abbreviation ABC.Diszo [ABC]

Description

Diszo is used to gray out all or part of the fields in a mask, for example further to a Actzo.

Diszo is used for fields declared as being enterable in the mask. These fields can no more be entered.

When fields are made unavailable again via Diszo, the order to gray the elements always derives from the entry ranks and the position of the fields on the screen. As a consequence if this order to gray out fields needs to be modified, it is necessary to use several Diszo statements.

Similarly, when giving an interval of the fields to be grayed 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 partially grayed out. The syntaxes are the same:

Diszo [M]NBLIG Where NBLIG is the grid bottom variable

or Diszo [M]xx Where xx is the rank

Diszo [M]FIELD Where FIELD is a column name, grays outs the column

Diszo [M]FIELD(nolign-1) Where FIELD is a column name and nolignthe line number, grays out a cell.

In a grid, a grayed-out field appears in a grey font. If the field has a color attribute via pcolor, its color is kept. On fields other than the grid bottom variable, the Diszo doe not enables the on focus nor the contextual menu.

Notes

Diszo positions the screen as valid. The field checks will not be carried out. Diszo on rank(s) or field(s) does not modify the validity status of the mask.

See also

Affzo, Actzo, Effzo, Envzo, Grizo.