Results 1 to 3 of 3

Thread: embedding hyperlink into words in RichTextBox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Posts
    86

    embedding hyperlink into words in RichTextBox

    Hi Guys,
    I have seen many example of how to detect urls or hyperlinks in a richtextbox. However, my task is a little bit complicated.

    Normally, for a url to be identified in a richtextbox, it must have valid header ... eg: http:, ftp:, etc...

    I have a text string : "Please click Here " in the richtextbox.

    Is there anyway to make it a clickable hyperlink on only the word "Here" itself ???

    Any Gurus willing to help ? It is quite a challenge ....
    I am trying all method to solve this, but if anyone has any clue on solving this problem ... please help me ...

    Many thanks !!!

    Chris
    Last edited by icongroup2003; Oct 1st, 2004 at 03:44 AM.

  2. #2
    Fanatic Member THEROB's Avatar
    Join Date
    Oct 2000
    Location
    I'm cold and there are wolves after me
    Posts
    575
    I have tried doing it in Word then copying the rtf code into a control - it looks like this:

    Please Click here <http://www.thispage.com/>
    My secretary hopes that I will pay her, her landlord hopes that she will produce some rent, the Electricity Board hopes that he will settle their bill, and so on. I find it a wonderfully optimistic way of life. [Dirk Gently]

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Posts
    86

    I dun understand your solution ...

    Hi .... it is not as simple as copy and paste .... I wanna make it look like and work like a hyperlink within the richtextbox ...

    Any other person who can help ???

    Chris

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