Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Require diagram_PreviewClicked (Read 1701 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Require diagram_PreviewClicked
Oct 20th, 2009 at 3:54pm
Print Post  
Hi Stoyan,

We want some digram_PreviewClicked event for our application because we want to perform some operation before click event of the diagram. We don’t want to use mouseDown because it also works while click on the node. Is there any event to handle such kind of scenario?

Please suggest?


Regards,
Anshul


Some additional information:

We want to drag mouse on the diagram to select the node while focus is not in the diagram. In this case while we start drag, we are not getting clicked event of the diagram. We don't want to use MouseDown for the same as it is giving some overhead in our application so we want somethinf PreviewClicked or any other event to perform the operation.

Please suggest?
« Last Edit: Oct 21st, 2009 at 6:28am by Anshul »  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Require diagram_PreviewClicked
Reply #1 - Oct 22nd, 2009 at 7:27am
Print Post  
Hi Stoyan,
Any update for this?

Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Require diagram_PreviewClicked
Reply #2 - Oct 23rd, 2009 at 8:22am
Print Post  
The Diagram.Clicked event is raised when clicking outside any nodes/links, but only after you release the mouse button. You will have to use MouseDown or PreviewMouseDown and check if there's a node under the mouse pointer.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint