Forum > TAChart
DatePointHintTool - invalid typ cast
Nicole:
bad news:
The bug tricks me.
One start the hint works like it should, very nice! - next start the whole frame refuses the start of my software as such and shows the error I posted. The error occurs, when the tab with the Chart-Frame is shown. If the PageControl has a different frame active, the app start.
Same problem, if I only have my TOpenHighLowCloseSeries in the onHint-event.
So the combination with TBarSeries is not the problem.
Setting the toolbar property in my chart to "none" (means deleting the component from the property field always helpen.
So the problem is in the OnHint-Event of the tool.
But nothing special in this event. It is even there, if there is just an "exit" inside.
Sometimes.
How to grab?!
Nobody knows, if on next start, it will work or fail.
I am PRETTY sure, that OnHint is the problem.
wp:
I can only repeat: Without a compilable project I cannot help you.
Since you work with frames and since I know that there are sometimes problems with frames I rewrote the financial demo of one of the previous posts so that it uses frames. But again - no issue.
Nicole:
Thank you so much, I will try it.
You said, you think, the issue may sit behind the computer. I agree, that this is very often the case.
The tool is the problem quite sure. But in the meanwhile I wonder, if there may be a problem by interaction of TWO tools. I tried very hard to solve and added and added and removed etc.... If the connection to the tool is somehow DOUBLE-defined this would fit to the disaster-crashes. May be there is not just a property pointing at ONE tool, but depth of the branches a second property pointing to a different address. Then both addresses contain some further points at nil and ....
Hope, I will find the reason and post it.
Navigation
[0] Message Index
[*] Previous page