I need a wee bit of help here.
I have a vb program I have written but I need to make the background of a picture box transparent.
The form colour varies so the background can't just be matched this way.
Any ideas guys ?
Printable View
I need a wee bit of help here.
I have a vb program I have written but I need to make the background of a picture box transparent.
The form colour varies so the background can't just be matched this way.
Any ideas guys ?
Why not change the backgound colour in the same function that changes the form colour?
Cheers,
cgkanchi
Form can also be transparent.
It has to be real transparency.
Use the "image" control instead... (the picture box and the image (box) are pretty much interchangeable in most cases... although the image control can't serve as a container...)
Ammo
ammo is right, i'd use a Image control. it can stretch, will show transparency...
Quote:
Originally posted here by ammo
Use the "image" control instead... (the picture box and the image (box) are pretty much interchangeable in most cases... although the image control can't serve as a container...)
Ammo
I swaped out the pic box for image box how do I make it show the background as transparent ?
the image box will display the picture as is, so if the picture is not a semi-transparent GIF image than there is no way to make it trans... if it is a gif? it should do it default...
/edit
i've included an example picture