From: Mads <mad...@ya...> - 2007-02-18 17:22:24
|
Hi all I have created a text-control and I want to know which character the mouse is hovering over. Getting the mouse position is easy enough. However converting the mouse position to a character index (into the text-control's text) seems very difficult. Anybody knows how to go from mouse position to character index? /Mads Lindstrøm |