Questions tagged [linklabel]

Represents a Windows label control that can display hyperlinks

In .NET the LinkLabel class represents a Windows label control that can display hyperlinks. Hyperlinks are sometimes useful in Windows Forms programs. The LinkLabel control provides hyperlinks similar to those on web pages.

104 questions
1
vote
3 answers

Add a string property to a visual c# linklabel?

I am totally new to visual C#. Whilst I can sort of manage console apps, I easily get lost when it comes to coding forms. I am currently making an "app launcher" which reads a text file line by line. Each line is a path to a useful program…
user734904
  • 41
  • 2
1
vote
2 answers

How to copy richtextbox content with link?

I want to copy richtextbox content with keeping format same and hyperlinks. But it is been copied as a plain text without hyperlinks. I am using linklabel in richtextbox. private void Bttn_copy_Click(object sender, EventArgs e) { …
Revolution
  • 11
  • 2
1
vote
3 answers

working with controls(linklabels, treeview) in winforms

I have a Panel and two LinkLabels added on the panel and a treeview. now in the panel_Paint event i want that the linklabel colors become white and background color of treeview turns black. how do i do this? the below code works only when there is…
sqlchild
  • 8,754
  • 28
  • 105
  • 167
1
vote
1 answer

vb.net dynamic link lable

How can i find out which dynamic link has been clicked on Visual Basic? I have some LinkLabels created dynamically according to a dataset, and i want to open a new form that contains the information from that dataset, but i need to know how to load…
1
vote
1 answer

How do I open up a specific page in the windows help dialogue?

A lot of built in Windows applications will have links to pages in the windows help. Is there any way I can create a linklabel that will open up a Windows Help dialog to a specific page? ===EDIT=== Hmm... well I was hoping on it being for all…
Sean
  • 8,401
  • 15
  • 40
  • 48
1
vote
2 answers

Clickable link inside a text control like RichTextControl in WPF?

I want to be able to have some text clickable like in webpages in WPF. The control should have both non-functional text (for display) both also some of its parts as completely clickable. Say like Wikipedia. But this is an independent standalone…
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
1
vote
1 answer

More than 32 links in LinkLabel?

I'm currently making an app in C# which make use of LinkLabels. I have a function that add a new link for each element in a certain array. However, it happens that the array have more than 32 links, and when that happens, I receive an…
Binyuan Sun
  • 146
  • 1
  • 9
1
vote
1 answer

Make the background of a Label or LinkLabel transparent

Is it possible to make the background of a LinkLabel transparent? Setting the BackColor to the Transparent system color does not work. Matching the BackColor of the container is not suitable because the container is an image.
JRS
  • 1,438
  • 2
  • 16
  • 26
1
vote
3 answers

LinkLabel to open a new Form

I am making a Windows Forms application. I have a LinkLabel in Form1. How can I open another form (Form2) when someone clicks on my LinkLabel?
Y.Arsoy
  • 129
  • 1
  • 3
  • 10
1
vote
1 answer

To set link label or tooltip for D3 Network chart

Here i'm working with D3 Network chart. I need to include a label or a tooltip for link. In my fiddle, the tooltip is appearing, but i can't display the text inside it. (I need to include the weight of each child node as the link label). And I also…
Nayana_Das
  • 1,789
  • 4
  • 23
  • 48
1
vote
2 answers

C# Call an event (linkLabel2_LinkClicked) from another method

I have an event handler on my form for a LinkLabel linkLabel2_LinkClicked: private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { //code here } I need to call it from another method that does not have an object…
ib11
  • 2,530
  • 3
  • 22
  • 55
1
vote
1 answer

Dynamic Generated LinkLabels - passing unique information to the handler

What I am trying to do: Generate a list of clickable links that when you click them they display a more detailed window about them, next to them. What I can't figure out is how to identify the LinkLabel after its clicked. Here is my code so far: if…
DerekConlon
  • 353
  • 1
  • 5
  • 17
1
vote
1 answer

Failover when mailto protocol handler is not present

I'm facing a little issue with a mailto link in a label. In fact I added a label which contains a mailto link, and in a native way the program try to open it with the default program the user has defined. But actually it doesn't work and raise a…
Fikkwix
  • 167
  • 3
  • 10
1
vote
1 answer

How to know what Linklabel has been clicked?

Background I have created 8 linklabels which are created using a loop which gets data from a database. Each record fills a linklabel. How ever how can I distinguish what linklabel has been clicked on? Code for (int i = 0; i <= rowCount - 1; i++) …
Dan Cundy
  • 2,649
  • 2
  • 38
  • 65
1
vote
1 answer

Linklabel dotted focus area not appear when got focus with hotkey

I have LinkLabel. If i press hotkey, linklable got focus, but dotted area are not appear! When it got focus by 'Tab', he have dotted focus area: Next, if press hotkey, dotted area always appear. How do I get the dotted area immediately appeared…
Nikolay
  • 587
  • 6
  • 20