How to make line hover when hovering with mouse in Richtext control
C#
2
Posts
2
Posters
0
Views
1
Watching
-
i would like to know how to add a mousehovr effec to lines in the richtext control
Bad = knowing 2 much
-
i would like to know how to add a mousehovr effec to lines in the richtext control
Bad = knowing 2 much
You can use the
GetCharIndexFromPosition()
method of the rich text box to get the index of the character nearest to the specified position and then use this index to create a tooltip for each line. See here for an example on how to useGetCharIndexFromPosition()
.