|
-
Mar 30th, 2004, 05:36 PM
#1
Thread Starter
Lively Member
Change Forecolor
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
-
Mar 30th, 2004, 08:33 PM
#2
Lively Member
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
-
Mar 31st, 2004, 02:42 PM
#3
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|