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!!!
Printable View
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!!!
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.
Yeah, thanx. It worked! :):):):):):):):):):)
I'm wondering just how secure Sastraxi will be able to make it, if this is a problem for him :)
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.
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.
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?