Page 1 of 1
Display time for the tool MarksTip
Posted: Wed Mar 30, 2005 4:09 pm
by 9525450
When you move the mouse pointer on a point, it will be appreciate to control the display time. In some charts, the mark text contains a lot of information, and the users have to move the pointer on the point 2 or 3 times....
Thanks in advance
Sophie Morissette
Posted: Thu Mar 31, 2005 10:23 am
by narcis
Hi Sophie,
Maybe I'm not understanding well what you mean but TMarksTipsTool already has a delay time which can be configured at design-time or at run-time.
If that's not what you need could you please send us an example we can run "as-is" so that we can reproduce the problem here?
You can post files at [url]news://
www.steema.net/steema.public.attachments[/url] newsgroup.
Posted: Thu Mar 31, 2005 6:44 pm
by 9525450
The delay time control the time before the tooltip appear. I want to control how long the tooltip is visible.
I hope it's better explained.... Sorry for my poor english...
Sophie
Posted: Fri Apr 01, 2005 9:05 am
by narcis
Hi Sophie,
Thanks for your reply.
You cannot control the amount of time a MarksTip Tool will display for.
I've already added your request to our wish-list to be considered for future releases.
Meanwhile, what you can do is create your own Marks Tips using Annotation Tool and use the TeeChart Timer to control how long they appear for.
Posted: Tue Mar 14, 2006 2:56 pm
by David
In Delphi (VCL) you can control this using the Application class:
Application.HintHidePause:=8000; // <-- show the tip 8 seconds
I've added a new property to MarksTip tool that links to it.
ChartTool1.HideDelay:=5000; // 5 seconds
The default VCL time amount is 2500 milliseconds.
Note: When changing this delay, you're effectively changing it for all the hints in your app, as MarksTip tool is internally using the same class as the VCL does.