Highlight function
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I have a page of text painted on a tabpage panel. But I cannot highlight the text on it. How can I do it? Thanks
-
I have a page of text painted on a tabpage panel. But I cannot highlight the text on it. How can I do it? Thanks
I assume, from your question, that you are doing the following: 1) override void OnPaint() 2) doing a graphic.DrawString() You will not be able to select text in that situation. The only way you can have selectable text is to replace the owner-paint function with populating a control that is meant for text selection....like, oh say textbox???!!!!!