Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to change mousecursor in diagram (Read 1397 times)
dmz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: May 28th, 2010
How to change mousecursor in diagram
Jul 7th, 2010 at 8:34am
Print Post  
Hi..

Is it possible to change the default cursor in a diagram? (If I do it in the diagramview nothing changes so I think it must be in the diagram I have to change it) I want to insert new shapenodes by clicking on a button and then clicking somewhere. It works fine just not the cursor-change.

A second question in relation to this:
Can I prevent the user from drawing new nodes in the diagram? I don't want the user to be able to do this by hand.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to change mousecursor in diagram
Reply #1 - Jul 7th, 2010 at 9:15am
Print Post  
Hi,

There are several cursor properties, and the diagram switched between them depending on the current context. Try setting the PointerCursor property in this case.

To prevent drawing new nodes, set Behavior = DoNothing, Modify or DrawLinks. DoNothing will not let users draw anything, it will only raise click events. Modify allows selecting and modifying existing items. DrawLinks allows drawing new links but not nodes.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
dmz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: May 28th, 2010
Re: How to change mousecursor in diagram
Reply #2 - Jul 7th, 2010 at 11:52am
Print Post  
Works beatufully.. Smiley Thanks..
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint