Double Click

P

Pinakee

I am unable to get any function running except Hyperlink with
'EventDblClick'. I am trying to display a form by double clicking on a shape
in Visio 2003 Activex Control using VB.Net.

Plz. Help
 
A

Al Edlund

Interesting, when I code the activex control for the double click event,
vs2005 posts an error... Sounds like a bug to be opened with MS. I did not
try creating a separate event processor for the double-click event.
al

Error 1 Method 'Private Sub visControl1_MouseDoubleClick(sender As Object, e
As System.Windows.Forms.MouseEventArgs)' cannot handle Event 'Public Event
MouseDoubleClick(sender As Object, e As System.EventArgs)' because they do
not have the same signature.
 
A

Al Edlund

this from mai-lans blog..
al
'There is no specific double-click event object.

'If you don't want to use the Visio Shapesheet-based

'double-click functionality, you can build on the

'Visio 2003 mouse events that I talked about earlier

'in the week. You'll need to write some code to track

'whether a sequence of mouse events yields a

'"double-click." You'll have to use the x,y

'coordinates returned by the Visio mouse events

'and a time-based measurement using system timing

'functions like Win32's GetTickCount or VB's Timer function.
 
A

Al Edlund

Unfortunately I don't use the doubleclick event. I often use the selection
changed event or an action menu (right click).
al
 

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