I am using VisualStudio 2005 to create an application in C#.
I have a scrollable, multiline textbox where I want the user to be able to doubleclick any given line to put that line in another textbox. How do I tell which line has been doubleclicked? The event argument contains only x,y information and I don't want to have to do the math to figure out which of the visible lines contains that point.
Any ideas?
I have a scrollable, multiline textbox where I want the user to be able to doubleclick any given line to put that line in another textbox. How do I tell which line has been doubleclicked? The event argument contains only x,y information and I don't want to have to do the math to figure out which of the visible lines contains that point.
Any ideas?
Comment