Tom Knowlton
asked on
Make image background on button transparent
See my screenshot:
http://www.knowltonsoftware.com/junk/trans.gif
I want to make the white background the transparent color so the button shows through
http://www.knowltonsoftware.com/junk/trans.gif
I want to make the white background the transparent color so the button shows through
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you want to toggle between two images... Add two images to the imagelist and then set the button's image index property accordingly.
Cheers -A
Cheers -A
ASKER
Gotcha!
Working.....coming along very fast....I think I get it......
Working.....coming along very fast....I think I get it......
ASKER
ASKER
Okay Aaron:
The Image assignment from the ImageList to the Button at runtime is working fine....as is the Image Toggling.
BUT
The image background is still NOT transparent....still showing up white......
I am missing something dumb here I am sure.......
The Image assignment from the ImageList to the Button at runtime is working fine....as is the Image Toggling.
BUT
The image background is still NOT transparent....still showing up white......
I am missing something dumb here I am sure.......
Hmmmm. Strange.
Are you sure you're using bitmaps and not icons?
Are you sure the transparent color is set to the exact same color as your desired color?
I just tested this and getting transparent images to work can be a little quirky. Make sure you have the TransparentColor property set to the color you want before you add the images to the image list.
Hope this helps. -A
Are you sure you're using bitmaps and not icons?
Are you sure the transparent color is set to the exact same color as your desired color?
I just tested this and getting transparent images to work can be a little quirky. Make sure you have the TransparentColor property set to the color you want before you add the images to the image list.
Hope this helps. -A
ASKER
>>>>>
I just tested this and getting transparent images to work can be a little quirky. Make sure you have the TransparentColor property set to the color you want before you add the images to the image list.
That was it.............geeez...... ....I would call that a BUG.........LOL......
I just tested this and getting transparent images to work can be a little quirky. Make sure you have the TransparentColor property set to the color you want before you add the images to the image list.
That was it.............geeez......
ASKER
Yeah, I would think that's a bug also.
Right off hand, I'm not sure about your other question... sorry. I'll try take a closer look at it if I get a chance later in the day.
Good luck -A
Right off hand, I'm not sure about your other question... sorry. I'll try take a closer look at it if I get a chance later in the day.
Good luck -A
ASKER
Thanks Aaron!!!! You do good work in this TA.....I always appreciate your help!!!
Thanks knowlton! Always glad to help. -A.R
ASKER