Custom button image transparency problem

Niniel

Registered User.
Local time
Today, 15:57
Joined
Sep 28, 2006
Messages
191
Hello,

I made some custom icons for use with command buttons, and I made them ICO
files with transparency.
However, after I assigned them to my buttons, there's a light grey
background colour - which doesn't look all that great.

Is there a way to import images with their transparency intact? There must
be, since Access' built-in buttons are transparent.
Do I need to use a different image format? Or are there other tweaks to make
this work?

Thank you.
 
Thank you.
Strangely enough, Access XP complains that it doesn't understand the file format that is created by this tool.
 
Or maybe this installation of Access is just lacking some filters - it also complained that it didn't understand the GIF file, and that I might want to try a GIF file instead.
The file can't be too large at 914 byte [vs. 766 for the ICO file]; the 4 kB bitmap is loaded without problem.
 
I just reloaded my transparent icon images, and now the transparency is working.
Very strange.
I had briefly worked with my db files in A2003, but that shouldn't cause this kind of problem, should it? [I'm using A2002]
 
I wouldn't think so. Glad to hear you got it working.
 
Alas, it isn't quite "solved". Although I am now certain that it's caused by the different versions of Access.
For me running A2002 [XP], the button looks fine, with transparency intact. But on a machine with A2003, the background is visible again. So in order to get the icons to display correctly in 2003, I'll have to re-import them in 2003. That'll created backgrounds for me in 2002, but sine most users have 2003, I'll give that version preferential treatment.
 
Nothing is ever easy is it? Good luck with the rest of your project.
 
Thank you.

And yes, some things at least are not as easy as you'd expect them to be. Even seemingly simple stuff like this. :)
 

Users who are viewing this thread

Back
Top Bottom