Re:TTeeCommander and Mouse Move
In article <36922FAE.AC7FD...@my-dejanews.com>,
Quote
drosenst...@my-dejanews.com wrote:
> I am using TChart Pro 4 (with Delphi 4) and have been trying to add some
> of the pro features to my existing app.
> I have added a TTeeCommander to my window and as a result the mouse
> move event code in my TChart does not get invoked. Has anyone else seen
> this problem and is there a workaround or something I am missing?
David,
I had a similar occurrence with code for dragging series marks around. When a
TTeeCommander is linked to a chart, it receives some of the mouse events
(mouseDown, mouseMove, mouseUp) probably so it can monitor to chek if the user
is spinning the chart around etc.
The way to get your event handlers working again is to use the events of the
TTeeCommander. If you look in the object inspector you'll see the events
OnChartMouseDown
OnChartMouseMove
OnChartMouseUp
Simply set these to point to your existing event handlers.
Hope this helps,
Mark Graham.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own