Results 1 to 7 of 7

Thread: Usercontrol...Unfortunately I can't tell more...

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134

    Exclamation

    I am making a TOP-SECRET usercontrol for use with VB. Does anybody know how to make parts of the usercontrol transparent? EXAMPLE: Label set to TRANSPARENT so you can see what is on the form

    Thank yoU!!!
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    you can set the usercontrols backstyle property to transparent. You can't make parts of it transparent, but you can paint it, or use a load of shape controls to block out the bits you dan't want transparent.

  3. #3

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Yeah, thanx. It worked!
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    Guest

    Talking

    I'm wondering just how secure Sastraxi will be able to make it, if this is a problem for him

  5. #5

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    If you are talking about my experience in Usercontrols... well, yes. I'm starting my fifth one, but i've never used the backstyle property. I'll provide a link to it once it's done. Anyway, I got a little further on it, and i'm willing to tell what it is.... A graphical menu control.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    I've heard you can set parts of your UserControl to transparent. All you have to do is to draw a "bitmap" (or JPG) This BMP should be in Black&White. The background of your BMP (what will be the transparent areas) should be white, and the portions of your UserControl that you want to be visible, should be painted in black. Then, you have to load this image in your UserControl.MaskPicture, set the UserControl.MaskColor to White and set the UserControl.BackStyle to Transparent.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  7. #7

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134

    Smilies

    Have you ever noticed that the happy face smileys look different if you select a few that are in a row? (Use my first REPLY up there and select a few.) The first ones look sad, and the second ones look evil. Wierd, eh?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width