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 pass a System.Drawing.Size as a parameter to a method

I am creating a my account page for my C# application. I have it setup with loads of different edit buttons for different details, i was to make it less tedious to produce and create 1 method which will change the form to the way it is needed. Here…
Brendon
  • 334
  • 1
  • 2
  • 14
0
votes
1 answer

Dynamic Link Labels

I have been reading up on dynamic link labels, and yet, I have not found my answer. In my code, I am reading off of a .csv file, with the basic setup that checks the lines and if every third one is filled, its a link. This all is in a…
Marshal Alessi
  • 105
  • 2
  • 2
  • 11
0
votes
0 answers

Link label with Vertical Separator

How do we achieve vertical separation between LinkLabels. Tried searching in google but all solutions point towards Horizontal separations. For reference please see image LinkLabels with vertical separation
0
votes
1 answer

Set LinkLabel1.Enabled properties to false (vb.net)

I have a LinkLabel that I added dynamically in my form. My LinkLabel will only be displayed when a CheckBox is checked. I used this LinkLabel to add a TextBox in my form and user can only add 5 maximum TextBox. After it reach to it's maximum then…
Emerald
  • 864
  • 1
  • 14
  • 37
0
votes
1 answer

One to many forms need advice

Hi Guys just want to ask advice regarding a form inside a control panel. Its actually a ebook kind of program with table of contents.. See my screenshot below On the left side are labels that when i click contents will be shown in the right panel.…
0
votes
2 answers

Argument exception - parameter is not valid ( LinkLabel on WinForm )

I wrote a Win Forms app to test how a LinkLabel class works. It appears to be fine until I click on the changed LinkLabel. The Form1.cs code is below: using System; using System.Collections.Generic; using System.ComponentModel; using…
Tony
0
votes
1 answer

how to add linklable after some text in richtexbox

I am a .net developer . I am building a desktop application. how to add LinkLabel after some text in richtexbox ? i have used .past method for insert text.
0
votes
1 answer

Enable all LinkLabel controls

I have a few links which are disabled by default on a form, each using a LinkLabel control. Depending on some user interaction I need to enable either one or all of the LinkLables. I can enable the single LinkLabel just fine, but I can't find a way…
David Gard
  • 11,225
  • 36
  • 115
  • 227
0
votes
2 answers

Link label is cut off at the buttom c#

In my C# winform application I have a link label. when the text in the link label is localize to chinese the text is cut off at the buttom by the line of the link label. Any idea?
dubila
  • 1
  • 1
0
votes
2 answers

Removing or Hide dynamically created linklabels and labels

Background I create a set of linklabel and label controls using a loop that uses data from a database as there content (Text). Question How do I then remove or change there visibility? What I would Like to Happen? On a button click event, I would…
Dan Cundy
  • 2,649
  • 2
  • 38
  • 65
0
votes
1 answer

LinkLabel Click event being overwritten within loop

Here's some sample code which denotes my problem. It adds 5 LinkLabels, each with a Click event handler. The text on the label is 1...5 and should display the same result when clicked, but when I click on each of the labels I get the same message…
kschieck
  • 1,407
  • 2
  • 16
  • 29
0
votes
2 answers

How to Make Array Items As Separate Links in Link Label

I have a LinkLabel which is set up to receive some URLs that result from making a selection in a ComboBox. What I'm trying to accomplish is for the user to select a state from my combo, and then be able to click the individual links that appear in…
DesignerMind
  • 410
  • 4
  • 8
  • 29
0
votes
0 answers

C# adding links to a container

I want to make a list with links to certain folders appear based on choices made in two comboboxes. First idea that popped to mind was adding linklabels into a listbox but I cannot fathom how to actually make it work. What I have so far: private…
Alex M
  • 73
  • 6
0
votes
1 answer

process special characters

I've written a small programm in c# where i display some links to files with LinkLabels. the url and the displayed text are loaded from a xml-file the xml-file looks like this: 2 [3]
0
votes
1 answer

Open File Dialog box on Clicking Link Label

I've created a log in panel in which I've used Transparent group box(with user name text box and password text box), and used a wallpaper on background, now I've Used a link label on this log in panel by clicking on which the user can change the…
Ahsan Hussain
  • 952
  • 4
  • 21
  • 42