WORDWRAP field attribute
Use a TEXTEDIT
field to replace repeated multi-line input
fields.
IBM® Informix® 4GL
forms allow to define multi-line input fields by repeating the field tag in the
SCREEN
section on several lines, and by specifying the WORDWRAP
attribute in the field definition (with COMPRESS
or NONCOMPRESS
options):DATABASE FORMONLY
SCREEN
{
Multi-line input field:
[f01 ]
[f01 ]
[f01 ]
}
END
ATTRIBUTES
f01 = FORMONLY.comment, WORDWRAP COMPRESS;
END
With the graphical mode of Genero BDS, consider using a
TEXTEDIT
field
instead:LAYOUT
GRID
{
Multi-line input field:
[f01 ]
[ ]
[ ]
}
END
ATTRIBUTES
TEXTEDIT f01 = FORMONLY.comment, STRETCH=BOTH;
END
Notice
that the TEXTEDIT
field tags in the layout section do not repeat the item tag name (f01
).