You can create the button with no text on it (maybe a " " and then lay a bitmapped image over top of it. I haven't tried it, but that is what I have seen here and in books. Other than that, I do not believe there is any way through Access (other than third party software).
The bad news...
When it comes to customizing command buttons, Access doesn't give you a lot of choices. They probably want to keep the Windows GUI consistent to a point.
The Good news...
You can run the click event on just about any object on your form.
I've often used WordArt or drawing shapes with text from Word or Excel. Copy and paste it onto your form. It becomes an OLEUnbound object (a bitmap). You can write your code on its click event.
To give it more of a Command Button flavor, change the SpecialEffect property to 2 on the MouseDown and back to 1 on the MouseUp.
Another possibility to consider is that you can set a command button's Transparent property to "Yes" and lay it over a picture (or whatever). The click event still runs.
I think that I'm going to keep it to the standards, I think if you're going to use bitmaps, your form performance will slow down, and the database size will grow ...
Depending on the size and number of buttons, I don't think it should hurt the performance too bad. Also, I would link the images instead of storing them in the DB. This will help with the size... Terry M. Hoey
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.