Search code examples
.netwinforms.net-4.0label

Can I tell which character was clicked on on a label?


I have a windows form with a label (or another control, i'm open to options) that displays with foreign characters.

What I would like to do is that when a user clicks on one of the characters, it should open up a modal dialog with information about that character.

Is that possible for a label box to know which part of the label or which character was clicked?


Solution

  • I would use a FlowLayoutPanel and add each character separately as a LinkLabel.