Bitmap

Available only in graphical environments, a bitmap is a graphic (*.bmp, *.jpg, *.jpe, *.jpeg, *.png, *.tif, *.tff, or *.tiff) that can be added to a screen in order to enhance its appearance, for example, or to add a company logo. A bitmap can also be added to a push button, radio button, or check box control.

A bitmap control is rectangular and non-transparent by default. To display a bitmap so that it appears non-rectangular, or to make sure that some portion of a bitmap matches the background color of the screen, use the Transparent Color property. In the Property window, click the button next to the Transparent Color property to open the Choose Transparent Color dialog box. As you move your mouse over the bitmap, the dialog box shows the RGB value of the current color. When you click a spot on your bitmap, the color of that spot is set as the transparent color, and when the program executes, that color does not appear (in other words, the background color of the screen shows through). For more information about bitmaps and the Transparent Color property, see Control Types Reference.

Restriction: The Transparent Color property is only supported for bitmap (BMP) image formats; it is not supported for JPG, GIF or PNG formats.