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. C#
  4. Transparent through the label

Transparent through the label

Scheduled Pinned Locked Moved C#
questionhelp
4 Posts 4 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.
  • C Offline
    C Offline
    CodingLover
    wrote on last edited by
    #1

    Hi all, On VS2005, I've add a background image on a form, fine. But when I added a label cannot see the image through it. How can I see the image through the label? Thanks a lot.

    I appreciate your help all the time... CodingLover :)

    C W M 3 Replies Last reply
    0
    • C CodingLover

      Hi all, On VS2005, I've add a background image on a form, fine. But when I added a label cannot see the image through it. How can I see the image through the label? Thanks a lot.

      I appreciate your help all the time... CodingLover :)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Make the background color of the label transparent ? The other way is to draw the text on the form yourself.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • C CodingLover

        Hi all, On VS2005, I've add a background image on a form, fine. But when I added a label cannot see the image through it. How can I see the image through the label? Thanks a lot.

        I appreciate your help all the time... CodingLover :)

        W Offline
        W Offline
        Wael Dalloul
        wrote on last edited by
        #3

        CodingLover wrote:

        How can I see the image through the label?

        set the Backcolor for the label to: Transparent label.Backcolor = Transparent

        1 Reply Last reply
        0
        • C CodingLover

          Hi all, On VS2005, I've add a background image on a form, fine. But when I added a label cannot see the image through it. How can I see the image through the label? Thanks a lot.

          I appreciate your help all the time... CodingLover :)

          M Offline
          M Offline
          Michael Bookatz
          wrote on last edited by
          #4

          You set the label to transparent, However be aware that there is no true transparency in .net which means that transparent shows the background image and not the image underneathe.

          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