Command button image

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I create a command button with my own image which is transparency background icon format file. But when it shown, background becomes white color. How to solve this ?
 
There are some work arounds for the image control, but I don't know of any
for a command button. The only thing I know of is to make the background
color the same as the command button's color. However, if any knows of a
way, it would be nice.

--
Wayne Morgan
MS Access MVP


suntisuka said:
I create a command button with my own image which is transparency
background icon format file. But when it shown, background becomes white
color. How to solve this ?
 
See:
http://www.lebans.com/transparent.htm
Transparent.zip is a database containing functions to allow for the
conversion of Bitmap, Gif, Jpeg, Enhanced Metafile and Metafile to an
Enhanced Metafile format supporting Transparent backgrounds.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


suntisuka said:
I create a command button with my own image which is transparency
background icon format file. But when it shown, background becomes white
color. How to solve this ?
 
Yes, I have tried your program. But command button does not accept Enhanced Metafile format. It accepts only .bmp or .ico format. Have anymore suggestion ?

PS : I have also try by set the background color to the same command button color. But when I disable it, background color is changed again.

Thanks for your help
Suntisuk
 
You could create 2 buttons and when you disable the button, swap which of
the two are visible. You may also be able to just change the picture, but I
haven't tried that at runtime.
 
Back
Top