Issue with OnClickLegend
Posted: Tue Jan 23, 2007 3:50 pm
I am using Delphi 6 Enterprise and TeeChart Pro 7.07.
We allow the user to perform customization options on the chart legend by intercepting a mouse click in the chart's OnClickLegend event. Overall, this works fine. Anytime the user clicks on the legend contents the event fires and we execute our code.
However, if the Legend Title is visible and the user clicks on the Title, the chart's OnClickLegend event does NOT fire. We would like the same logic to work for us whether the user clicks on the legend items, the legend background, or the legend title. Is there a way to make the OnClickLegend event recognize that the legend's title was clicked?
Thanks
We allow the user to perform customization options on the chart legend by intercepting a mouse click in the chart's OnClickLegend event. Overall, this works fine. Anytime the user clicks on the legend contents the event fires and we execute our code.
However, if the Legend Title is visible and the user clicks on the Title, the chart's OnClickLegend event does NOT fire. We would like the same logic to work for us whether the user clicks on the legend items, the legend background, or the legend title. Is there a way to make the OnClickLegend event recognize that the legend's title was clicked?
Thanks