How to get the word under the mouse cursor in a multiline label component ?
(Not in a RichEdit or Memo/Edit component)
I want to get the word under the mouse cursor in a multiline label component (with proportional font) ?
Ex. I want to click on a word in the label, and get in a property the whole word.
The code should also work with any text drawn on a bitmap or on a paintbox, on a single line or on a rect with drawtext.
Thanks for the help.