Image

Image items define areas where a picture file can be displayed.

Images can be either static or dynamic formFields. The properties presented in the Properties view vary depending on whether the image is placed as static or formField.

Figure: Image

This figure shows an example of an Image widget.

Usage

A Static Image displays an image that has its source file defined by the image property. This type of image item must be used to display text that does not change often, such as background pictures or logos. The item is not a formField. The image file can be changed from the BDL program by using the API provided to manipulate the user interface (see the Genero Business Development Language User Guide topic Dynamic User Interface for more details). It is not possible to change the image with a DISPLAY TO instruction.

A formField Image is a widget that gets the image file based on the underlying formField. The value of the formField is the image file specified with a URL. The formField can be associated with a database column by changing the fieldType property to TABLE_COLUMN, and specifying the tableName and colName properties. This type of image item must be used to display values that change often during program execution, like database information. The picture can be changed from the BDL program by using the DISPLAY TO instruction to set the value of the field.