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

Tranperancy

Scheduled Pinned Locked Moved Visual Basic
question
5 Posts 3 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

    Hi, I m using label control on windows media player i wanna make the label transperant for WMP How can i do it??

    Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...

    G 1 Reply Last reply
    0
    • V V 2

      Hi, I m using label control on windows media player i wanna make the label transperant for WMP How can i do it??

      Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...

      G Offline
      G Offline
      Gagan 20
      wrote on last edited by
      #2

      Change the backcolor property of label control to transparent.

      label1.backcolor=color.transparent

      Hope, this will work.. By- Gagan

      V 1 Reply Last reply
      0
      • G Gagan 20

        Change the backcolor property of label control to transparent.

        label1.backcolor=color.transparent

        Hope, this will work.. By- Gagan

        V Offline
        V Offline
        V 2
        wrote on last edited by
        #3

        Thanks But i already have tried it, the label become transperant for the form(Parent) not for the Windows Media Playe ;P r.... I set the label's parent to WMP but nothing happened... :zzz:

        Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...

        G D 2 Replies Last reply
        0
        • V V 2

          Thanks But i already have tried it, the label become transperant for the form(Parent) not for the Windows Media Playe ;P r.... I set the label's parent to WMP but nothing happened... :zzz:

          Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...

          G Offline
          G Offline
          Gagan 20
          wrote on last edited by
          #4

          Do the same thing at run-time not at design time.

          1 Reply Last reply
          0
          • V V 2

            Thanks But i already have tried it, the label become transperant for the form(Parent) not for the Windows Media Playe ;P r.... I set the label's parent to WMP but nothing happened... :zzz:

            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
            #5

            Transparent isn't. All Transparent does is tell the control to take on the background properties of it's parent container, which is the Form it's sitting in. For a truely transparent control, you'll need to make a custom version of the label. Google for "vb.net transparent label" and you'll find a bunch of examples.

            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