Lazarus

Programming => Graphics and Multimedia => TAChart => Topic started by: Muso on November 28, 2022, 04:37:59 pm

Title: [invalid] Non-uniform behavior of DataPointClickTool
Post by: Muso 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
Title: Re: Non-uniform behavior of DataPointClickTool
Post by: wp 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
Title: Re: Non-uniform behavior of DataPointClickTool
Post by: Muso 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