This topic describes using pictures on buttons and in check boxes.

Bitmap Property

Command buttons, menu buttons, option buttons, and check boxes can all display a bitmap picture instead of—or in combination with—a caption.

They all have a property called Bitmap. Here you can enter the path and name of a bitmap. The maximum size of the bitmap is 32 KB. The bitmap is imported, not referenced. This means that if you change the original bitmap, you will have to re-import it.

There is also a property called BitmapPos, which allows you to you select the alignment of the bitmap within the control. This is useful when you combine a caption and a bitmap.

Using a bitmap on a button or a check box can make the interface more intuitive. A well-chosen picture may be easier to remember and identify than a label.

See Also