VB.Net for Webapp.
Does anybody know change to Forecolor in code? I'd like to change the text color based on a certain category.
Thanks
Printable View
VB.Net for Webapp.
Does anybody know change to Forecolor in code? I'd like to change the text color based on a certain category.
Thanks
VB Code:
[control].forecolor = system.drawing.color.[color] 'or [control].forecolor = system.drawing.color.fromargb([alpha],[red],[green],[blue])
where [control] is your control ,
[color] a system predefined color and
[alpha],[red],[green],[blue] byte values (0 to 255)
[alpha] is alpha value and can be omitted
Thanks