Defines an element to display an image resource, in a stack-based layout.
Syntax 1: Defining a form field image
IMAGE field-name [ , attribute-list ] ;
Syntax 2: Defining a static image
IMAGE : item-name [ , attribute-list ] ;
- field-name identifies the name of the screen record
field.
- item-name identifies the form item for a static image.
- attribute-list defines the aspect and behavior of the form
item.
Attributes
ACTION, AUTOSCALE, COMMENT, HEIGHT, HIDDEN, STYLE, STRETCH, TAG, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, WIDTH.
Static image only: IMAGE.
Image field only: JUSTIFY, SIZEPOLICY, SAMPLE.
Usage
Define the rendering and behavior of an image stack item, with a
IMAGE element inside a STACK container.
Note: The IMAGE 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 IMAGE
stack item must be the only element in the container. It will be rendered a scalable
form item that can stretch to fit the front-end screen size.
For more details about this item type, see IMAGE item type.
Example
IMAGE cars.picture, COMMENT="Picture of the car";