IMAGE stack item

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 ] ;
  1. field-name identifies the name of the screen record field.
  2. item-name identifies the form item for a static image.
  3. attribute-list defines the aspect and behavior of the form item.

Attributes

ACTION, AUTOSCALE, COMMENT, HEIGHT, HIDDEN, SIZEPOLICY, STYLE, STRETCH, TAG, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, WIDTH.

Image field only: JUSTIFY, SAMPLE.

Static image only: IMAGE.

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";