Click to See Complete Forum and Search --> : Transparent background


Cakkie
February 16th, 2000, 07:58 AM
I have this problem, when i use an imagebox, i can use images with transparent backgrounds, however, when i trie to change size, or move them, they flicker. So I tried this using a picturebox.
Result: the flickering is gone, but when i use transparent pictures, the background color of the picturebox shines trhough in stead of the color below the picturebox (this is another image).

What I want to know is if there is a way to set the background color of the picturebox to transparent, I've lookt through the properties of the picturebox, but I can't find anything that can accomplishes that.

Tom Cannaerts
slisse@planetinternet.be

The best way to escape a problem, is to solve it.

February 16th, 2000, 08:10 AM
If you do a search at www.planet-source-code.com for "Transparent" there is code there that makes a form transparent.
If you change the parameter of the MakeTransparent procedure from form to picturebox it should do the job for you.