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. How to set white color to transparent and the opacity=0.5 as the same time same form?

How to set white color to transparent and the opacity=0.5 as the same time same form?

Scheduled Pinned Locked Moved Visual Basic
questiontutorial
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.
  • C Offline
    C Offline
    cylix2000
    wrote on last edited by
    #1

    I have set white color as the transparent key of my form, It show properly. After I chnaged the opacity of the form, The white color is shown, how can I make the form with this two effect? That is, opacity = 0.5 and the white color is transparent? Thank you.

    D 1 Reply Last reply
    0
    • C cylix2000

      I have set white color as the transparent key of my form, It show properly. After I chnaged the opacity of the form, The white color is shown, how can I make the form with this two effect? That is, opacity = 0.5 and the white color is transparent? Thank you.

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

      IIRC, you can have one OR the other, but not both at the same time. If you set an Alpha for the form, the Transparency Key is ignored. At least on Windows 2000 it is. I can't remember if thats true on XP.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      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