Picturebox transparent
-
I have a media plyer on my form and a pictuer box on it i wanna set the picturebox transparent but when i do it the picturebox shows the form's backcolor but i wanna when i set it transparent the music file which is playing in media player should show behind the picturebox How can i do this Thanks with anticipations
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
-
I have a media plyer on my form and a pictuer box on it i wanna set the picturebox transparent but when i do it the picturebox shows the form's backcolor but i wanna when i set it transparent the music file which is playing in media player should show behind the picturebox How can i do this Thanks with anticipations
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
Transparency doesn't work the way to think it does. What you've seen is the correct functionality. Controls are not transparent to other controls. Setting a control's background to Color.Transparent makes the control take on the background properties of it's parent container, most likely the Form it's on. You cannot see a control behind another control. Transparent is anything but...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008