Bienvenue, Guest |  Connexion à votre compte
English versionVersion françaiseVersión española oficialAmtliche deutsche VersionVersão portuguese oficial
Aide et support en ligne


Sondage expresse


 
 

Aide et support en ligne


Cherchez une aide ou information directement dans notre base de connaissance.


 

Set transparent gif picture


Product: ActiveX My Command Button -  Version: All -  Department: Support/Use
State: Closed -  Last update: mercredi 5 octobre 2005 -  (5589)

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


Evaluez cette réponse 

Comment notez-vous cette réponse ?

 
Note moyenne: 10/10, sur 5 vote(s)
Vous pouvez poster un commentaire (optionel):