Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Picturebox transparent

Picturebox transparent

Scheduled Pinned Locked Moved Visual Basic
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    V 2
    wrote on last edited by
    #1

    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...

    D 1 Reply Last reply
    0
    • V V 2

      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...

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups