How can I track the chart mouse events?

  • Thread starter george_scortaru
  • Start date
G

george_scortaru

Hi,
I am using some charts embedded in Excel worksheets and I need to trac
the selection and mouse events. The Chart element is contained in
ChartObject container. Both Chart and ChartObject can be selected b
user. When user clicks a chart, the Chart object is selected and th
Chart class provides events for selection and mouse actions. If th
CTRL key is pressed before clicking the chart, the ChartObject i
selected and the context menu and the wire frame are different, th
ChartObject does not provide any event because it is an interfac
rather than a class. Can you give me a clue how can I track the mous
and selection events when the ChartObject is selected? My purpose is t
create a custom context menu that will be displayed any time the use
right clicks the chart, even if the chart is part o a multipl
selection.
Thank you,
Georg
 
T

Tom Ogilvy

I believe the chart is selected in shape edit mode at that point and as you
say, doesn't fire events.

--
Regards,
Tom Ogilvy


"george_scortaru"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top