how to make a picturebox transparent (not the picture in it ,to the controls behind)
how to make a picture box transparent as it shows the controls behind it and the controls in it..
ex: i have to command buttonsm infront of them a picture box, in that picture box another command button, i want the picture to boe transparent as it shows only the command button in it and also the two behind it..
thanks..
Re: how to make a picturebox transparent (not the picture in it ,to the controls behind)
I doubt if theres a simple way to do that.You can take a look at bushmobile's glass form and see if that helps.(Check his signature)
1 Attachment(s)
Re: how to make a picturebox transparent (not the picture in it ,to the controls behind)
Yes there is a way i found this transparent picturebox control a while ago and have been using to for years. :D It is very customizable code but you can add more functions to it if you need too. It is a User Control. See attached.
Enjoy :D
Re: how to make a picturebox transparent (not the picture in it ,to the controls behind)
i got tohe tool but when i try calling a picture into it using code it doesn't work, any suggestionns?
Re: how to make a picturebox transparent (not the picture in it ,to the controls behind)
when you load a picture do this:
VB Code:
set TransPicBox1.picture = loadpicture("C:\mypic.bmp")
Remember to set the maskcolor to the transparent part. Like if your image has a white backround and you want that transparent make the maskcolor white. :D
Re: how to make a picturebox transparent (not the picture in it ,to the controls behind)
it worked! thanks so much...
Re: how to make a picturebox transparent (not the picture in it ,to the controls behind)