Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jd jd is offline
external usenet poster
 
Posts: 91
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trap on close event and control save XP Excel Programming 3 October 9th 07 06:59 PM
frame control inside an image control moniong Excel Programming 2 March 30th 07 03:29 AM
HOW TO DISPLAY DIFFERENT IMAGES IN EXCEL USING IMAGE CONTROL? [email protected] Excel Programming 4 October 6th 05 03:11 AM
Userform Image Control and embedded images tim Excel Programming 13 April 5th 05 01:32 PM
copy shape image into image control Luc Benninger Excel Programming 2 July 15th 04 11:14 AM


All times are GMT +1. The time now is 02:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"