Results 1 to 6 of 6

Thread: Changing colour of single words

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    England
    Posts
    283

    Question Changing colour of single words

    i have a textbox and i want it to change the colour of single words as it 'recognises them'.

    I have got the recognising bit sorted but i only know how to change the forecolor of the whole text box. i would like it to simply change the colour of the single word....

    Any help would be greatly appreciated

    GTJ

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Changing colour of single words

    You will need a RichTextBox for that purpose.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    England
    Posts
    283

    Re: Changing colour of single words

    what code could i use to do this?

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    England
    Posts
    283

    Re: Changing colour of single words

    ...that is what code could i use to select a single word (or automatically select anything in a rich text box!!)

    GTJ

  5. #5
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: Changing colour of single words

    I found this last night Check it Out. You may have to tweek it for it to do what you need it to do.


    Good Luck
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  6. #6
    Lively Member
    Join Date
    May 2005
    Posts
    98

    Thumbs up Re: Changing colour of single words

    thanks guys. i'll look at this this morning.. and give you some feedback

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