Page 1 of 1

Tee chart events stopped working

Posted: Tue Nov 28, 2006 11:54 am
by 5890717
Hi,

I have a strange problem where chart events such as Zoom and MouseUp seem to have stopped working. I am using TeeChart Pro 5.03 on Delphi 7.
I can see my event handlers in the chart properties and have breakpoints on these two functions but they are never being called. These events were working fine yesterday but I cannot think of anything I might have changed to break this functionality.
Any help would be appreciated.

Andy

Posted: Tue Nov 28, 2006 11:59 am
by narcis
Hi Andy,

Are the events assigned to their corresponding objects? Could it be that you changed some object at design-time and you didn't reassign the events at the object inspector?

Posted: Tue Nov 28, 2006 12:12 pm
by 5890717
Narcis,

If I double click on the events in the Object Inspector, it takes me to the correct place in the source code so I think they are correctly linked to the chart object. I also checked the .dfm file and again it all looks correct.

Andy

Posted: Tue Nov 28, 2006 12:17 pm
by narcis
Hi Andy,

Could you please send us an example project we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Posted: Tue Nov 28, 2006 12:32 pm
by 5890717
Narcis,

Unfortunately, the data from the chart is acquired from server external applications and providing these external applications will not be possible.
I will see if I can reproduce the problem with internally generated data and if so, will post the source.

Andy

Posted: Tue Nov 28, 2006 2:05 pm
by 5890717
Well I managed to get it working by simply selecting the chart, cutting it with Ctrl+X then pasting it back onto the frame with Ctrl+V and everything started working :shock:

Andy