PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Don Dickinson on July 16, 2004, 01:21:36 PM

Title: Button graphics
Post by: Don Dickinson on July 16, 2004, 01:21:36 PM
is there a way to make the background on an image button transparent?

thanks
don
Title: Button graphics
Post by: Anonymous on July 16, 2004, 02:34:42 PM
I may be wrong, but I believe you've got the source code to the RR buttons donated by Bjorge Hagsten - if so you could get in there to do what you want.

Andrew
Title: Button graphics
Post by: Roger Garstang on July 16, 2004, 04:45:51 PM
Background of the image or background of the button?  The button shouldn't need it, as for the image you'll have to make it transparent in an editor.  Most likely it is an ico file so a big one like MicroAngelo or an MS Freebie like ANIedit/Imagedit will let you edit it and make it transparent.  If I remember right I think Paul even has the command loading the image mapping 3D colors so:

Color Replaced with
Dk Gray, RGB(128,128,128) COLOR_3DSHADOW
Gray, RGB(192,192,192) COLOR_3DFACE
Lt Gray, RGB(223,223,223) COLOR_3DLIGHT


This could be good or bad...I wish he would leave that off and just use LR_SHARED...especially on Picture controls or maybe make it a property option.  But either way if you use those colors you'd need to set the image yourself.