Picture

Pictures are PowerBuilder-specific controls that display a bitmap (BMP) file, a run-length encoded (.RLE) file, an Aldus-style Windows metafile (WMF), a GIF file, an animated GIF file, or a JPEG file.

StepsTo display a picture:

  1. Place a picture control in the window.

  2. In the General tab page in the Properties view, enter in the PictureName text box the name of the file you want to display, or browse to select a file.

    The picture displays.

You can choose to resize or invert the image.

Be careful about how you use picture controls. They can serve almost any purpose. They have events, so users can click on them, but you can also use them simply to display images. Be consistent in their use so users know what they can do with them.