-
March 6th, 2003, 02:55 PM
#1
VB Help
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 ?
-
March 6th, 2003, 02:57 PM
#2
Why not change the backgound colour in the same function that changes the form colour?
Cheers,
cgkanchi
-
March 6th, 2003, 03:00 PM
#3
Could work but
Form can also be transparent.
It has to be real transparency.
-
March 6th, 2003, 03:00 PM
#4
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
Credit travels up, blame travels down -- The Boss
-
March 6th, 2003, 03:17 PM
#5
ammo is right, i'd use a Image control. it can stretch, will show transparency...
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
yeah, I\'m gonna need that by friday...
-
March 6th, 2003, 04:59 PM
#6
What Now
I swaped out the pic box for image box how do I make it show the background as transparent ?
-
March 6th, 2003, 05:34 PM
#7
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
yeah, I\'m gonna need that by friday...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|