Recent

Author Topic: [SOLVED] Show hint when over a gutter icon  (Read 2903 times)

guest58172

  • Guest
[SOLVED] Show hint when over a gutter icon
« on: July 07, 2017, 12:41:47 pm »
How can i show a hint when the mouse is over a gutter icon ?

I've started to play with TSynEdit.OnSHowHint, which is well triggered with the gutter but i have the feeling that there could be a simpler way (without testing the coordinates for example).

guest58172

  • Guest
Re: Show hint when over a gutter icon
« Reply #1 on: July 07, 2017, 02:25:16 pm »
It looks like even in Lazarus this is done the hard way, testing coordinates. So there's no simpler way.

https://github.com/alrieckert/lazarus/blob/master/ide/sourceeditor.pp#L8750

 

TinyPortal © 2005-2018