Link to home
Start Free TrialLog in
Avatar of net_susan
net_susan

asked on

Label Font Color

I want to set my label's font color. I tried the below code (and I tried other things that didn't work too).

lblMessage.font.color=red
SOLUTION
Avatar of TheMehrdad
TheMehrdad
Flag of Iran, Islamic Republic of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of net_susan
net_susan

ASKER

Compiler Error Message: BC30451: Name 'Color' is not declared.
Oh, I actually had a solution in a different question of mine.

      lblMessage.cssclass="someclass"


But, I'm still curious why I can't make it work the other way.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial