How to insert LinkLabel into Rich text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Is there any way to insert LinkLabel in rich text box? Or hyperlink a text
in rich text box?
Thanks
Al
 
Why insert a LinkLable when u can,
Just set the DetectUrls property of the richtexbox control to TRUE.

Wonders of .NET......never ceases to amaze me ..

Clas
 
Clasperm said:
Why insert a LinkLable when u can,
Just set the DetectUrls property of the richtexbox control to
TRUE.

This will only work with "URLs", but you cannot lik a certain span of text
with an URL.
 
Hi,
I need to allow user when they click on certain work the word replaces to
something else so using linklable. How can i do that with URLs?
thanks
Al
 
dim LinkLabel1 as new LinkLabel
Me.RichTextBox1.Controls.Add(LinkLabel1)
LinkLabel1.Location = New Point(10, 40)
LinkLabel1.BringToFront()

The problem is you need adjust LinkLabel1.Location dynamically while
RichTextBox1's scrolling.
 
Back
Top