| |
Set transparent gif picture
Product: ActiveX My Command Button -
Version: All -
Department: Support/Use
State: Closed -
Last update: Wednesday, October 05, 2005 -
(5590)
|
Description:
I am trying to place a gif picture on my command button. I'm using a GIF with a transparent background but for some reason it shows up white on the button. Do you know how to make the transparent icon display properly on your button?
Resolution:
You have to set the MaskColor property to the background color. For example if your background is white, just set the MaskColor to &hffffff.
The control doesn't support direct transparent gif, it can support any transparent by setting the MaskColor.
See also:
Keywords: gif, transparent
|