Microsoft KB Archive/103428

= ACC: How to Use Graphic Images As Wallpaper for Forms =

Article ID: 103428

Article Last Modified on 5/6/2003

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition

-



This article was previously published under Q103428



Novice: Requires knowledge of the user interface on single-user computers.



SUMMARY
You can use graphic images as "wallpaper," or background, for your forms to make them more attractive.

NOTE: In Microsoft Access for Windows 95 version 7.0 or Microsoft Access 97, you can set the form's Picture property to any .bmp, .dib, or .wmf file type and set a watermark for the background of a form. To do so, give the complete path in the Picture property, for example, c:\windows\clouds.bmp.



MORE INFORMATION
The following example demonstrates how to add wallpaper to a form:


 * 1) Start the Microsoft Windows Paintbrush program (or any graphics program of your choice) and open the WINLOGO.BMP bitmap file (or any bitmap file of your choice).
 * 2) Select the graphics image. If you are using Paintbrush, choose the Pick tool (a pair of open scissors below a dotted rectangle) from the toolbox. Select the bitmap image by using the mouse to place the crosshairs in the upper-left corner of the bitmap, and then click and hold down the left mouse button and drag the rectangle to the lower- right corner to encompass the entire image.
 * 3) From the Edit menu, choose Copy. This places a copy of the bitmap image on the Windows Clipboard.
 * 4) Start Microsoft Access, and open the sample database NWIND.MDB.
 * 5) Open the Customers form in Design view. Select the form by clicking the small, white box in the upper-left corner of the form.
 * 6) From the Edit menu, choose Paste. This pastes the bitmap image to an object frame control on the form.

Note that the graphic image does not cover the entire form, but only the upper-left corner of it. This is because this particular graphic image is too small for the form. To cover the entire form, either use a larger graphic image, or use a different graphics program to alter the graphic's size.
 * 1) From the Layout menu, choose Send To Back. This puts the graphic image in the background.

NOTE: In version 2.0, Send to Back is on the Format menu.
 * 1) On this form, the BackStyle property for all the label controls is set to Clear. In order to make the labels more readable against the new background, change the labels' BackStyle properties to Normal. You can also change the BackColor properties, using the Color Palette.

