C
C#2y ago
ZiAD

Making a panel semi-transparent

I'm trying to find out how to make a panel semi-transparent. Things like: Panel1.BackColor = Color.FromArgb(0, 100, 100, 100); do not work.
5 Replies
ZiAD
ZiAD2y ago
They just recolor it.
undisputed world champions
i dont know if panels support it, but the A in ARGB stands for alpha-channel and it's usually used for transparancy/opacity try Panel1.BackColor = Color.FromArgb(100, 0, 0, 0); to get a half transparent black background ... maybe ^^
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
ZiAD
ZiAD2y ago
I've seen this and I'm not sure exactly how I'm supposed to add this I tried adding it in the same class as the form And usually I think it'd come inside the toolbox But it didn't So I'm not sure anymore
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View