The simple way to add a bitmap picture to a form is to add it as a control of type image.

To a static picture as an image

  1. Open the form in Form Designer.

  2. Open the Toolbox and select the Image tool.

  3. Click and drag in the design area to create an image control.

  4. Open the Properties window of the image control, and enter the path and name of the bitmap file in the value field of the Bitmap property. The bitmap is imported, so you do not need external files for your application. But if you change the bitmap during development, you must update the imported copy.

  5. To update the bitmap, open the Properties window, select the Bitmap property Value field and press F2. This causes the field to be reevaluated, and forces the bitmap to be imported again. The size of the bitmap cannot exceed 32 KB.

See Also