|
-
Jun 19th, 2003, 02:15 AM
#1
Thread Starter
Member
Color
Hey guys. quick question here. How do I get the "Connected" to come up in Green, and the "Not Connected" in RED ?
Case IP_SUCCESS: msg = "Connected"
Case IP_REQ_TIMED_OUT: msg = "Not Connected"
Thanks
ScarEye
-
Jun 19th, 2003, 03:10 AM
#2
Maybe someone can help you if you tell a little more. MAybe where it is displayed....
-
Jun 19th, 2003, 04:42 AM
#3
Lively Member
Re: Color
Originally posted by ScarEye
Hey guys. quick question here. How do I get the "Connected" to come up in Green, and the "Not Connected" in RED ?
Case IP_SUCCESS: msg = "Connected"
Case IP_REQ_TIMED_OUT: msg = "Not Connected"
Thanks
ScarEye
Well if you are using HTML, then this is how:
Case IP_SUCCESS: msg = "<font color='green'>Connected</font>"
Case IP_REQ_TIMED_OUT: msg = "<font color='red'>Not Connected</font>"
Enjoy
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
|