grey background

mkelly

Registered User.
Local time
Today, 15:45
Joined
Apr 10, 2002
Messages
213
Within a database is there a way to add a picture or change the dull grey background of access?
 
Left click on the little square in the upper left hand corner of the form. Display the properties and select whatever background color you would like. I think there is also a property for background image.
 
Thanks but I am not talking about a form. I am talking about the actuall background in access.
 
You can easily change the Access "window" color to any color you want or you can insert your own bitmap as the backgroup if you use the code Lebans provides on his web site @ ChangeMDIBackGround

The sample db he provides @ ChangeMDIBackGround.zip has a reference error so you will have to deselect the missing reference if you want to play with the sample.

I personally use only the code to change the color in the Access window. You only need the functions in the modChangeMDI module and then you need to call the code when your db opens like this...

Dim blMDI As Boolean
blMDI = SetMDIBackGround(16777215) 'White

It is that easy and the custom look you create is a great feature to make your applications 'not' look like Access.

HTH
 
Thanks.
But where would I put it?
In the global code as a private sub?
 
I personally use only the code to change the color in the Access window. You only need the functions in the modChangeMDI module and then you need to call the code when your db opens like this...
Copy [export] the modChangeMDI module into your db.

Put this line in the OnOpen event of your main form.

SetMDIBackGround(16777215) 'White
 
Last edited:
Attached is sample db that shows you just how easy it is to change the background color of the Access application window.
 

Attachments

hi,
excuse me if I post on this old tread,
ghudson into your signature you wrote Ac10 and SO win7,
you use already the lebans method to put one custom img on mid background??
I've one program in AC07 32bit, my SO is win7 64bit, but the lebans demo don't run, if I open the example nothing append.
can you (or someboy) find another solution to put a custom img on mdi background.
another idea is to use one form with on backgroung my img, popup view, but my db is on tabbed view and this popup is always on top and i can't do nothing :banghead:
 

Users who are viewing this thread

Back
Top Bottom