BitmapList Property

Sets a list of bitmaps from which the correct bitmap to display is selected.

Applies To

Picture boxes


Specify the bitmap list using a comma-separated list of file names, such as c:\pictures\<example1>.bmp,c:\pictures\<example2>.bmp. There are 44 predefined bitmaps. They can be chosen by entering a number from 1 to 44. You can mix external bitmaps that are stored in files, with the internal bitmaps in this list.

The SourceExpr Property of the control is used to choose which bitmap to display. The first bitmap in the list is number 1, the second bitmap is number 2, and so on.

The bitmaps are imported. If you change one or more of the bitmaps, you have to re-import them to update the versions that are used. You can do this by reentering this property value.

The size limit for all the user-defined bitmaps included in the list is 32 KB.

See Also

Bitmap Property
BitmapPos Property