WEBCOMPONENT stack item
Defines a generic form field that can receive an external widget, in a stack-based layout.
Syntax
WEBCOMPONENT [identifier] [ , attribute-list ] ;
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
COLOR, COLOR WHERE, COMPONENTTYPE, COMMENT, DEFAULT, FONTPITCH, HEIGHT, HIDDEN, INCLUDE, JUSTIFY, NOT NULL, NOENTRY, PROPERTIES, REQUIRED, SCROLLBARS, SIZEPOLICY, STYLE, STRETCH, TAG, TABINDEX, TITLE, VALIDATE LIKE, WIDTH.
Style attributes
Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, localAccelerators, showAcceleratorInToolTip, textColor, textDecoration.
Class-specific: none.
Usage
Define the rendering and behavior of a web component stack item, with a WEBCOMPONENT
element inside a STACK container.
Note: The
WEBCOMPONENT stack item can be used inside a stack container like a group,
or as root element of the STACK container: When used directly under the
STACK container, the WEBCOMPONENT stack item must be the only
element in the container. It will be rendered as a scalable form item that can stretch to fit
the front-end screen size.For more details about this item type, see WEBCOMPONENT item type.
Example
-- URL-based web component (recommended):
WEBCOMPONENT FORMONLY.mymap;
-- gICAPI web component:
WEBCOMPONENT FORMONLY.mycal,
COMPONENTTYPE="Calendar", -- lookup "Calendar.html"
STYLE="regular";