hi
I have a system color value stored in a variable e.g. (Color [A=255, R=255, G=128, B=128])
and i would like to assign that to the back color of a form but i keep getting the error:
" Control does not support transparent background colors. "
my code:
any help appreciated
regards
I have a system color value stored in a variable e.g. (Color [A=255, R=255, G=128, B=128])
and i would like to assign that to the back color of a form but i keep getting the error:
" Control does not support transparent background colors. "
my code:
VB.NET:
formcolor = Color [A=255, R=255, G=128, B=128]
Dim testcolor As Color
testcolor = Color.FromName(formcolor)
Me.BackColor = testcolor
any help appreciated
regards