Trap Mouse Move event for Images inside the shape or Image control

J

jd

Hi

is there any way to be able to add event handler for shape or pictures or
images inside the shape

i have tried ole control.add , addpicture everything but nothing seems to
work to be able to access the image controls mouse move event
it seems XL container is consuiming the base events of underlying control as
well

the only mouse move that is sucessfully work is on charts
 
P

Peter T

Unfortunately there is not direct way of trapping events for a shapes, other
than it's OnAction click if assigned to a Macro.

Maybe you can use near equivalent ActiveX controls from the Controls
toolbox, say an Image control for your picture. These expose most typical
events including mouse move, though not mouse "over".
the only mouse move that is sucessfully work is on charts

- only when the chart is active, but indeed you could add your shapes to an
otherwise empty chartobject, activate it to get the events.

Regards,
Peter T
 

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