Recent

Author Topic: [invalid] Non-uniform behavior of DataPointClickTool  (Read 590 times)

Muso

  • Sr. Member
  • ****
  • Posts: 356
[invalid] Non-uniform behavior of DataPointClickTool
« on: November 28, 2022, 04:37:59 pm »
I noticed that when I create a new DataPointClickTool I get these 3 properties in the property editor:
* MouseInsideOnly
* UseApplicationHint
* UseDefaultText
The issues are:
A. is that when I add a new DataPointClickTool in my existing program, I don't get these properties.
B. the 3 new properties have no description yet what they are for, therefore I cannot figure out if I need maybe a special setting in my existing program to get them.
To reproduce, take the attached example program and add there a new DataPointClickToo.

I am on today's master (via FPCupDeluxe):
Lazarus 2.3.0 (rev main-2_3-2941-g84f716a2ff)
FPC 3.2.2
x86_64-win64-win32/win64
« Last Edit: November 28, 2022, 06:45:17 pm by Muso »

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Non-uniform behavior of DataPointClickTool
« Reply #1 on: November 28, 2022, 06:26:24 pm »
I noticed that when I create a new DataPointClickTool I get these 3 properties in the property editor:
* MouseInsideOnly
* UseApplicationHint
* UseDefaultText
The issues are:
A. is that when I add a new DataPointClickTool in my existing program, I don't get these properties.
Your are confusing tools. These properties belong to the TDatapointHintTool.

B. the 3 new properties have no description yet what they are for, therefore I cannot figure out if I need maybe a special setting in my existing program to get them.
Yeah, documentation is always postponed... You may have a look at the wiki file which is easier to modify: https://wiki.lazarus.freepascal.org/TAChart_documentation#Data_point_hint_tool

Muso

  • Sr. Member
  • ****
  • Posts: 356
Re: Non-uniform behavior of DataPointClickTool
« Reply #2 on: November 28, 2022, 06:45:04 pm »
Your are confusing tools. These properties belong to the TDatapointHintTool.
Thanks, how embarassing for me  :-[ . Sorry for the noise.

 

TinyPortal © 2005-2018