Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to change mouse cursor to hand (Read 2239 times)
Al
Junior Member
**
Offline


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
How to change mouse cursor to hand
Nov 11th, 2014 at 3:41pm
Print Post  
Hi,

I have Behavior.DoNothing set but still want to show a hand when then user moves over an element because the element is clickable - is this  possible?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to change mouse cursor to hand
Reply #1 - Nov 11th, 2014 at 5:38pm
Print Post  
Hi,

Here's one way to do that:

Code
Select All
var DoNothingBehavior = MindFusion.Diagramming.DoNothingBehavior;
var LinkNodesBehavior = MindFusion.Diagramming.LinkNodesBehavior;
DoNothingBehavior.prototype.setMouseCursor = LinkNodesBehavior.prototype.setMouseCursor; 



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


I Love MindFusion!

Posts: 56
Joined: Sep 3rd, 2014
Re: How to change mouse cursor to hand
Reply #2 - Nov 12th, 2014 at 6:02am
Print Post  
That works perfectly, thank you
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint