Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Disable Right Click on Shape Node. (Read 2851 times)
SandeepGowda
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 6th, 2009
Disable Right Click on Shape Node.
Apr 28th, 2009 at 11:10am
Print Post  
Hi,
Can you help me to Disable the Right Click on Selected Shape Node.

regards
Sandeep
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable Right Click on Shape Node.
Reply #1 - Apr 28th, 2009 at 11:27am
Print Post  
If you need to disable cancelling the operation upon right-click, set DiagramView.RightButtonActons = None.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
SandeepGowda
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 6th, 2009
Re: Disable Right Click on Shape Node.
Reply #2 - Apr 28th, 2009 at 11:48am
Print Post  
Stoyo,

I have PopupMenus added for each Task,which have to be disabled.
But i am not able to find the  set DiagramView.RightButtonActons method as such. Can you please help me

regards
Sandeep
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable Right Click on Shape Node.
Reply #3 - Apr 28th, 2009 at 11:51am
Print Post  
That has nothing to do with context menus. You probably show them from the NodeClicked event handler.
  
Back to top
 
IP Logged
 
Necroman
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 49
Joined: Jul 27th, 2009
Re: Disable Right Click on Shape Node.
Reply #4 - Oct 2nd, 2009 at 9:29am
Print Post  
I've got similar question. Is it possible to preserve the diagramView.RightButtonActions = MouseButtonActions.Pan; behavior and also to handle rightclicks for showing context menu on diagram/nodes/cells? Currently I handle the Diagram_CellClicked event, but it has been never fired on right click with this setting.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable Right Click on Shape Node.
Reply #5 - Oct 2nd, 2009 at 2:39pm
Print Post  
Seems we'll have to rearrange the mouse-up handler a bit to enable this. We'll do that next week.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint