You can place pictures, such as your company logo, in a DataWindow object to enhance its appearance. If you place a picture in the header, summary, or footer band of the DataWindow object, the picture displays each time the content of that band displays. If you place the picture in the detail band of the DataWindow object, it displays in each row.
To place a picture in a DataWindow object:
Select Insert>Control>Picture from the menu bar.
Click where you want the picture to display.
The Select Picture dialog box displays.
Use the Browse button to find the file or enter a file name in the File Name box. Then click Open.
The picture must be a bitmap (BMP), runlength-encoded (RLE), Windows metafile (WMF), Graphics Interchange Format (GIF), or Joint Photographic Experts Group (JPEG) file.
Display the pop-up menu and select Original Size to display the bitmap in its original size.
You can use the mouse to change the size of the bitmap in the DataWindow painter.
Click the Invert Image check box on the General page of the Properties view to display the picture with its colors inverted.
To display a different picture for each row of data, retrieve a column containing picture file names from the database.
For more information, see “Specifying additional properties for character columns”.
To compute a picture name at runtime, use the Bitmap function in the expression defining a computed field. If you change the bitmap in the Picture control in a DataWindow object, you need to reset the original size property. The property automatically reverts to the default setting when you change the bitmap.
To use a picture to indicate that a row has focus at runtime, use the SetRowFocusIndicator function.