Adding picture buttons to a form

Picture buttons are identical to command buttons in their functionality. The only difference is that you can specify a bitmap (BMP), runlength-encoded (RLE), Windows metafile (WMF), CompuServe Graphics Interchange (GIF), or JPEG file to display in the button. Use these controls when you want to be able to represent the purpose of a button using a picture instead of just text.

Shown is a button with a picture of a printer and the text "Print."

StepsTo add a picture button to a form:

  1. Click the PictureButton button in the Controls drop-down toolbar, or select Insert>PictureButton from the menu bar.

  2. Click where you want the picture button to display.

    A picture button displays in the Layout view.

  3. In the Properties view, General page, type the new text (if you want any) in the Text box.

  4. Click the Browse button next to PictureName to display the Select Picture dialog box and navigate to find the picture file, or enter a file name in the PictureName box.

  5. Specify other properties of the button as needed.

For information about associating the picture button with an action, see “Making the command button work”. The procedure is the same.