RichTextBox doesn't raise LinkClicked for last link.

Kipp Woodard 1 Reputation point
2022-10-07T13:13:29.78+00:00

I have a simple WinForm with a RichTextBox control on it.

I load a simple RTF document with several links in it (created with MS Word) into the control.

The LinkClicked event does not get fired for last link in the file. It doesn't matter which link is last (the behavior isn't specific to any one link).

The link appears as a normal link in the control at runtime. The cursor changes when the link is hovered over, like all of the other links. But clicking it does not result in the LinkClicked event being rasied.

248572-image.png

248571-image.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
{count} votes