Adding Pictures to a DataWindow Object

You can place pictures, such as your company logo, in a DataWindow object.

If you place a picture in the header, summary, or footer band of the DataWindow object, it appears wherever the band appears. If you place a picture in the detail band of the DataWindow object, it appears on each row.

Note: WMF and EMF image formats are not supported in PowerBuilder .NET.
  1. In the Toolbox, select the Bitmap control.
  2. In the Design view, click where you want the picture to appear.
    The Open dialog box opens.
  3. Browse to the image file and select it. Click Open.
    The picture must be a bitmap (BMP), runlength-encoded (RLE), Graphics Interchange Format (GIF), Joint Photographic Experts Group (JPG) file, or Portable Network Graphics (PNG) file.
  4. You can use the mouse to change the size of the image in the DataWindow painter, or set its Height and Width properties in the Properties view.