Trap Mouse Move event for Images inside the shape or Image control
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 |
Trap Mouse Move event for Images inside the shape or Image control
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 "jd" wrote in message ... 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 |
All times are GMT +1. The time now is 06:55 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com