Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ShapeToolbar AllowDrag (Read 4121 times)
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
ShapeToolbar AllowDrag
Apr 8th, 2010 at 1:16am
Print Post  
Hi all

I have been using the ShapeToolbar for some time now and just noticed a problem. The AllowDrag property if set to false still accepts a shape drag and drop from the ShapeToolbar onto the diagram area

Doug ???
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeToolbar AllowDrag
Reply #1 - Apr 8th, 2010 at 5:52am
Print Post  
Our bad. We have fixed this now and will release v5.3.4 with the fix in a couple of days.

Stoyan
  
Back to top
 
IP Logged
 
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
Re: ShapeToolbar AllowDrag
Reply #2 - Apr 8th, 2010 at 6:52am
Print Post  
Stoyan

One of the new things that I was doing was on the diagramview.dragdrop to create a  new node using the shapetoolbar.selectedshape. That worked OK however the shapetoolbar shape was also dropped on to diagram area. Possibly this is something that I am doing. What I am trying to achieve is to add text to the node created from the selected shape from the toolbar when it is dropped on the diagramview

Doug
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeToolbar AllowDrag
Reply #3 - Apr 8th, 2010 at 8:54am
Print Post  
Hi Doug,

The builtin drag and drop handler raises the NodeCreated event, so you might try adding the text from the NodeCreated handler.

Stoyan
  
Back to top
 
IP Logged
 
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
Re: ShapeToolbar AllowDrag
Reply #4 - Apr 8th, 2010 at 11:04am
Print Post  
Stoyan
That did the trick, thank you.
Doug
Wink
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint