Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ImageMap ability to show a shape attached to mouse while its being dragged to diagram from box (Read 2879 times)
saad
Full Member
***
Offline


I Love MindFusion!

Posts: 117
Joined: Oct 8th, 2012
ImageMap ability to show a shape attached to mouse while its being dragged to diagram from box
Nov 15th, 2012 at 3:41pm
Print Post  
Right now it just shows nothing and then the shapenode pops up on the diagram when tis dragged from the shapelistbox. i'd like it to sort of attach to  mouse cursor when you mousedown on the shape in the shapelistbox and stay attached until its dropped onto the diagram, is that possible?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ImageMap ability to show a shape attached to mouse while its being dragged to diagram from box
Reply #1 - Nov 16th, 2012 at 7:04am
Print Post  
Using Firebug, check the _onMouseMove handler in ShapeListbox.js. You could replace the function in ShapeListbox.prototype with your own version to show a cursor other than Pointer.
  
Back to top
 
IP Logged
 
saad
Full Member
***
Offline


I Love MindFusion!

Posts: 117
Joined: Oct 8th, 2012
Re: ImageMap ability to show a shape attached to mouse while its being dragged to diagram from box
Reply #2 - Nov 25th, 2012 at 10:42am
Print Post  
Move details stoyo, cant find shapelistbox.js and shapelistbox.prototype
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ImageMap ability to show a shape attached to mouse while its being dragged to diagram from box
Reply #3 - Nov 26th, 2012 at 7:26am
Print Post  
On the Firebug's script tab, drop the script file combo and check the ScriptResource.axd files one by one until you see a WebForms.ShapeListBox = function(element) declaration on the second line, or enter ShapeListBox in the search field on the right and click next until it shows the file as in the attached image.

I hope that helps,
Stoyan
  

firebug.png (Attachment deleted)
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint