Recent

Author Topic: How to update the crosshair-hint?  (Read 631 times)

Nicole

  • Hero Member
  • *****
  • Posts: 970
How to update the crosshair-hint?
« on: January 21, 2023, 09:38:51 pm »
There was this thread:
https://forum.lazarus.freepascal.org/index.php/topic,61867.msg467286.html#msg467286

The example works fine, - but it always shows only one value. At least at my place.
What can I do, that it shows the clicked value?

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: How to update the crosshair-hint?
« Reply #1 on: January 21, 2023, 10:12:40 pm »
Sorry, typo: Use ATool.PointIndex rather than ATool.Index (the latter one is the index of the HintTool in the ChartToolset collection).

 

TinyPortal © 2005-2018