Double-Click on shape event

E

Eric Lamzi

Hi,

My quetion is simple, How i can intercept a double-click on a shape?

thank's
 
P

Paul Herber

Hi,

My quetion is simple, How i can intercept a double-click on a shape?

No such thing as a simple question.
However, try this:
1. Write a macro to do some simple task, like set the shape's line
colour
2. set the shape's double-click behaviour to perform this macro.
 
P

pasquale

oh.. ok.. so the only method to handle the double click si to change
the shape's cell "EventDblClick" (containing OPENTEXTWIN() ) by my
own macro?

(i want tu pop-up my own C# form when i double-click on the shapae)
 
J

JuneTheSecond

My idea is to combine mouse events, mouseup, mousedown and mouse move.
If user double clicks, Visio may notice down-up-down-up in an instance never
moves.
 
P

pasquale

My idea is to combine mouse events, mouseup, mousedown and mouse move.
If user double clicks, Visio may notice down-up-down-up in an instance never
moves.

Yes but... if a user make: "click wait 10 seconde without move and
reclick..."
for fix this i must install a timer etc... to much complicated juste
for a dbclick intercept...
 
P

pasquale

ok, i have fund an alternative.

I install a EVENTMARKER with AddAdvise methode, and in the
EventDblClick of the shape i set
=RUNADDONWARGS("QueueMarkerEvent","/test/cmd=1")

and next in interecept this event and i scan the argument...

:)
 

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