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
0
votes
1 answer

How to set Event Listener for a link label?

Background I have created linklabels in a loop dynamically which are created using a function, gets it's name from database tables. (which is stated as users_decks in the code) I've checked other questions, and they mostly wrote a function like the…
beriscen
  • 17
  • 5
0
votes
1 answer

How to make a link open in the default browser in C#?

I want to make a button that puts users in their default browser in Visual Studio '19 I'm making a C# windows form application, and I have a button to a discord server for users Does anyone have an answer? Currently I use private void…
Shiba01
  • 1
  • 1
0
votes
0 answers

Save a copy of the file to specific folder, from a LinkLabel Hyperlink

I have a program that creates a list of hyperlinks to the files i search for. I can click the resulting hyperlink and the PDF opens. I would like to also have it make a copy of the pdf on my C: also without dialog. The source of the files is from…
Ultrax
  • 1
  • 3
0
votes
1 answer

Programmatically added LinkLabel not visible

I am encountering a strange phenomenon: I have a WinForms application with four GroupBoxes, all four initially empty. I use this to track new followers/unfollowers on Twitter, planning on expanding its use once this functions properly. It does work…
LocEngineer
  • 2,847
  • 1
  • 16
  • 28
0
votes
1 answer

FormLayoutPanel, Not Changing Direction when using LinkLabels

I'm trying to use the FlowLayoutPanel with linkLabels in Visual Studio for a quick project. I've selected "TopDown" for direction and wrapping to false. When I launch the program; however, the direction always shows left to right. Is there a box or…
Harley
  • 385
  • 1
  • 2
  • 11
0
votes
1 answer

RichTextEditBox and LinkLabel winforms c#

I am using a windows forms RichTextEditBox. I load a RTF file into the control. I then set the following code. int indexToText = rteb.Find("here"); LinkLabel link = new LinkLabel(); link.Text = "here"; link.LinkBehavior =…
Bill G
  • 161
  • 1
  • 4
  • 11
0
votes
2 answers

Link lable in Listview (Delphi)

how can i have a listview that its items contain links(direct us to html pages) ? Thank you
Kermia
  • 4,171
  • 13
  • 64
  • 105
0
votes
1 answer

How to find is linkLabel is clicked?

This is some method that accept Dictonary. public void Display(Dictionary feeds) { for (int i = 0; i < 5; i++) { int x = i + 1; string numberOfLable = "linkLabel" + x; …
0
votes
1 answer

How to get LinkLabel text from some List of strings with loop?

If I have for example linklabel1, linklabel2, linklabel3....linklabel10. And some list of string that count 10 item. How do I pass each strings(first string it's going to be text in linklabel1, second string in linklabel2....) in than link label…
0
votes
1 answer

LinkLabel.LinkArea localization issue

As you know LinkLabel control in WinForms supports selection of an area of text (stored in .resx) that will act as link by specifying start and position and length in LinkArea property. But localized text can and will change this exact values as in…
Corio
  • 395
  • 7
  • 20
0
votes
1 answer

How to embed a LinkLabel control in a WebBrowser control?

I am exploring the feasibility of embedding a LinkLabel control in a WebBrowser control. Could somebody tell me if is feasible or not? If it is feasible, then how to implement it. Looking for code snippets. ~neerAJ
Neeraj
  • 592
  • 4
  • 6
  • 21
0
votes
1 answer

Data Repeater, make linklabel open link in browser?

I have a datarepeater set up, i have a linklabel showing a link to a webpage. How do i go about making this open in a browser? I know i should be using Shell("c:/program files/internet explorer/iexplore.exe URLHERE") Or similar. But i dont see how…
0
votes
0 answers

How can I handle or remove the trailing space of a LinkLabel?

I'm trying to insert links into my RichTextBox. I do not mean setting DetectUrls to true, I want alternate text. What I have so far seems to be working mostly fine.. I'm using much of the code from this solution. But my issue is that there is some…
Broots Waymb
  • 4,713
  • 3
  • 28
  • 51
0
votes
1 answer

Link Label in Windows form application C#

Hello everyone I'm making a school project and I'm making a simple application using windows form application in C#. My question is can I link a link label with another form in my project so when I press the link label it directs me in the another…
leobaz
  • 3
  • 4
0
votes
2 answers

WPF LinkLabel implementation strategy

I am attempting to create a LinkLabel control for WPF. Essentially, I'm going to create the LinkLabel from a TextBlock and handle MouseEnter, MouseLeave, and MouseLeftButtonUp events. In the back end I have a base class that has properties that you…
BrandonS
  • 2,513
  • 7
  • 28
  • 29