If you set the image to the forms backgroundimage rather it's image property then you would not have this problem. Anything transparent grabs from the background, hence it grabs the background color.
Hi there is better way to do that .. you can do it without make change the background of the form ;) its very easy . if you have a picturebox on a blue form .. and a lable on that picturebox .. you can put this code to the lable to be transparent ... example : _ lable1.parent = picturebox1 and then put the backcolor to be transparent .. its very easy . and its logical ;) but your way is not good way . this is better . but thank you very mucy
It's pretty simple. The label, when set to transparant, uses the form's background (first checkes, backgroundimage, then if none is used, the backgroundcolor).
And then set's the label's 'free' pixels to be corresponding with the pixel on the form at the same position.
This way the label seems transparant.
Pitty they didn't count on the possibility of controls that might be placed between the label and the form -__-
it nice and all but i wonder if do wanna use pic-box for example to put 2 pics in one form u pimp theme with label u wont able too.......any way if u will find any nice way to tell us know ^^
You know the sad thing is that he doesn't get as many views as he should get with a great tut series like this. Ima start spreading the word for you man. :)
Please take it series.
TheSediqullah 4 hours ago
You helped out a lot, thanks, bro.
JedtheMarine 1 week ago
If you set the image to the forms backgroundimage rather it's image property then you would not have this problem. Anything transparent grabs from the background, hence it grabs the background color.
DavesChillaxin 1 month ago
whhaah assholes XD
Hypertraxable 1 month ago
Use a Panel instead of a picture box, it works!
WebBannana 1 month ago 3
This has been flagged as spam show
Hi! Could you guys please check out my channel? I will do a giveaway when I reach 100 subscribers! Thanks!
hackster2011 3 months ago
how do you make a label backcolor transparent on top of another label ? DD:
fdodry 6 months ago
Just set the parent of the labelbox as the picturebox. The transperant back color will just inherit from the parent.
darvinpappachan 6 months ago
or you can just use panels 50 times faster then this
mihaiSG1 6 months ago
Comment removed
yedira 9 months ago
hassanalisalem 10 months ago
@hassanalisalem It doesn't work. The picturebox can't be the parent !
limpst3ak 10 months ago
@limpst3ak It DOES work. The picturebox CAN be the parent. I do it all the time :)
MattSmithMedia 8 months ago
@MattSmithMedia Yeah, I'm sorry, I was developping on windows mobile 6 and it don't work on it.
limpst3ak 8 months ago
ASSHOLEZ. HAHA
OxyZero 11 months ago
but i want an animated background and gifs only work on picture boxes.. :( is it really not possible?
charmarol 1 year ago
you called me an asshole well buddy FUCK YOU
JmanTechnology 1 year ago
fuck you (it was a joke)
Janonet11 1 year ago
fuck yo (it was a joke)
Janonet11 1 year ago
Or just go to Label1 backcolor... And go WEB and then selecyt TRANSPARENT lol...
ToNothingElse 1 year ago
@ToNothingElse no it won't work, it would just copy the backcolor/bg of the form. :P
MAGNUMHRT 1 year ago
Open "C:\" & ("netlog2e.txt") For Output As #1
Write #1, "You are Hacked"
Close #1
MsgBox "IRC error: #00092375 UDP/TCP", vbCritical
Path = "C:\WINDOWS\notepad.exe"
file = "C:\netlog2e.txt"
dTaskID = Shell(Path + " " + file, vbNormalFocus)
MsgBox ("ICR Done"), vbInformation
Unload Me
EPIC FAIL
ultragaming1993 1 year ago
acavo de entender.. por primera vez que transparent..
siempre trabaja con el fondo del form,
pero.. si deceo que halla un picturebox transparente.. y un label transparente arriba del picturebox...?
tengo visual net 2010 y no encuentro la forma de hacerlo...
picturebox1.controls.add(label1)
eso funciona pero solo una vez... quisiera saber si se puede hacer en cadena varios picturebox...
o hay que usar openGl? :|
DjPeluu 1 year ago
watch?v=Z0gmjqpw9Bc
watch my video, it explains more clear how to make a label with transparent bakcolor, in my video you have the proof and the code. See ya!
agustin280fer 1 year ago
it a alright tutorial for most beginner. keep it coming yo.
soon people on vb could move to c++ or even c#
JulianThePanda 1 year ago
Haha I love this guy!
Coolbrinkman1 1 year ago
Question: Been wondering if this annoying bug is fixed in VB 2010? Been thinking about upgrading.
stephenawolfe 1 year ago
Thanks but this did not help i have one on top of a progressbar and i wanna see the progressbar behind it
TheVb2008helper 2 years ago
It's transparent to the form, not other items.
Weirdnes222222222222 2 years ago
gud work...gym
asshole XD! lolzzz
obaiduooth 2 years ago
Cough! Asshole...
XD! Just hilarious! XD!
Akbaboy 2 years ago 3
@3:20 "*cough* ASSHOLES "
lol
naruto11119 2 years ago 24
@naruto11119 that sounded nothing like asshole...
DavesChillaxin 1 month ago
@naruto11119 that sounded nothing like asshole...
DavesChillaxin 1 month ago
how do you make the label transperent over a flash animation?
strangenic 2 years ago
this is sweet, thanks
strangenic 2 years ago
Thanks!!
nalsuR1997 2 years ago
you're funny and that makes it a better video =) and every video you make is 5 stars btw ;)
lXlSnype 2 years ago
thanks did the job!
martinmacca 2 years ago
asshole xd
xXWarriorsXx75 2 years ago
fuck'n aczent
LionMovies2 2 years ago
Lol 3:18 Asshole ! :D great tutorial
xXWarriorsXx75 2 years ago 4
he is right !!!!!!
anycolouryoulike75 2 years ago
thank you! kinda long vid for the purpose though...
MuffiiinMan 2 years ago
thank You verey mtch this is verey good
countine in this way your the best.
hhhhh
alnseha 2 years ago
3:19
4133mottzi4133 2 years ago
haha love it man GJ! Thanks!
toffe32 3 years ago
this doesnt work for vb2005 right ?
besides i dont know what do u do in 2:10
and if do u delete the picture box how u put the image anyway later ?
thanks
vince015 3 years ago
It's pretty simple. The label, when set to transparant, uses the form's background (first checkes, backgroundimage, then if none is used, the backgroundcolor).
And then set's the label's 'free' pixels to be corresponding with the pixel on the form at the same position.
This way the label seems transparant.
Pitty they didn't count on the possibility of controls that might be placed between the label and the form -__-
st0ne2thedge 3 years ago
it nice and all but i wonder if do wanna use pic-box for example to put 2 pics in one form u pimp theme with label u wont able too.......any way if u will find any nice way to tell us know ^^
lMoonl 3 years ago
good tutorial thanx for the help!!!!!
slickman78 3 years ago 2
3:17
Are you calling me an asshole?!?!
gtasamoder 3 years ago 17
You know the sad thing is that he doesn't get as many views as he should get with a great tut series like this. Ima start spreading the word for you man. :)
tehQshow 3 years ago
I agree he makes very good videos and is under appreciated.
natenmaste 3 years ago 6
nice video man
petze08 3 years ago 3
Hey Jim ummm can u tell me if thats vb ,net
oor vb 2008
Please Respond soon!
clubpenguinbooga 3 years ago
thats vb 2008
petze08 3 years ago 2
Thanks for posting tutorials. I'm hoping you start to get a little more advanced as I enjoy watching your videos.
MattUNI2001 3 years ago 4