Results 1 to 3 of 3

Thread: Color

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2003
    Posts
    42

    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

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611
    Maybe someone can help you if you tell a little more. MAybe where it is displayed....

  3. #3
    Lively Member D.Viddy's Avatar
    Join Date
    May 2003
    Location
    Soldotna, Alaska
    Posts
    108

    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
    ~Dylan
    ~http://www.codebend.net
    ~The place for Internet Development help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width