
Error trying to set backcolor of a textbox.
Have you tried your code without the RGB call? Maybe something like:
TextB.BackColor = Drawing.Color.FromArgb(253, 209, 119)
=====================
Clay Burch
Syncfusion, Inc.
Visit www.syncfusion.com to download a free trial of Essential Suite
Quote:
> Hi, i want to change the color of a text box on runtime to:
> R: 253 , G: 209, B: 119
> and for that i'm currently trying to use:
> TextB.BackColor = Drawing.Color.FromArgb(RGB(253, 209, 119))
> but is giving me back this error:
> This control does not support transparent background colors.
> Any idea how can i set the control to use my colors??
> Thanks
> Alex.