Web component in a grid-based layout
In a grid-based layout, the item tag of the
WEBCOMPONENT
defines the default
dimensions of the web component
area:LAYOUT
GRID
{
<GROUP g1 >
[f1 ][f2 ]
[f3 ]
...
< >
[f5 ]
[ ]
[ ]
[ ]
}
END
In the ATTRIBUTES
section, use the SIZEPOLICY
, SCROLLBARS
, STRETCH
and HEIGHT
attributes, to define the sizing policy of a web component field:
WEBCOMPONENT f5 = FORMONLY.mymap,
SIZEPOLICY = FIXED,
STRETCH = BOTH;
By default, the
WEBCOMPONENT
widget gets the size of the form item. This is the
behavior of SIZEPOLICY=FIXED
, and is the only
option.Note:
SIZEPOLICY=DYNAMIC
or SIZEPOLICY=INITIAL
are not
supported with WEBCOMPONENT
fields.