I've noticed that the default button images used by Access (i.e. the "X" for
delete) appear to be partially transparent. I've created my own images but
they all have a solid gray (on Windows Theme) or solid white (on Classic
Theme) background when I insert the image onto a command button.
Since users view the database with different themes for their controls, I'd
like an image that works on either type of command button, but I can't figure
out what file format works. Alpha-masked gifs and icon files fail to load
properly. Any ideas what image file format I can try?
They are bitmaps (.bmp.) You can easily edit any image in Paint and convert
it to a bmp.
As far as partially transparent, I'm guessing you are referring to the fact
that the red X appears on a grey background just as all the other images on
buttons. I think that is because the image actually has that background
surrounding it. You can edit your image in Paint to appear partially
transparent.
Try using RGB 212, 208, 200 as the background color of your bmp.
>I've noticed that the default button images used by Access (i.e. the "X" for
>delete) appear to be partially transparent. I've created my own images but
[quoted text clipped - 5 lines]
>out what file format works. Alpha-masked gifs and icon files fail to load
>properly. Any ideas what image file format I can try?
Curious - 12 Jul 2007 17:34 GMT
I've posted an example using your recommendation, Jahoobob; however, unlike
the Windows image, the custom image (regardless of the background color) does
not exhibit the same transparency across themes.
Example at http://curiouswork.blogspot.com/2007_07_01_archive.html
> They are bitmaps (.bmp.) You can easily edit any image in Paint and convert
> it to a bmp.
[quoted text clipped - 14 lines]
> >out what file format works. Alpha-masked gifs and icon files fail to load
> >properly. Any ideas what image file format I can try?