Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Boxes snap back after moving them (Read 2532 times)
Julian Moschüring
Guest


Boxes snap back after moving them
Jun 20th, 2006 at 7:46am
Print Post  
Hello!
I generate diagrams completely by code and allow the user to move the generated boxes around. This works fine so far but it is very often the case that when I select a box and drag it somewhere else the box snaps back to it's recent position as soon as i release the mouse button. It only happens for boxes which are connected by arrows.

A few properties which could be related in some way:
AutoSizeDoc = false
Behavior = bhModify
CausesValidation = false
ControlPadding = 4
CrossRadius = 8
DynamicArrows = true
HighSpeedRouting = false
InplaceEditAllowed = false
ModificationStart = mdAutoHandles
RerouteArrows = raWhenModified
RouteArrows = true
RoutingGridSize = 16
SnapDistance = 20

How can i remove/improve this behavior?
kindly, Julian Moschüring
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Boxes snap back after moving them
Reply #1 - Jun 20th, 2006 at 8:06am
Print Post  
Hi!

Usually that happens if a box is moved outside the current document boundaries. Set AutoSizeDoc = true to automatically enlarge the document, or set RestictObjectsToDoc = false to allow users place items outside the current document area.

Stoyan
  
Back to top
 
IP Logged
 
Julian Moschüring
Guest


Re: Boxes snap back after moving them
Reply #2 - Jun 20th, 2006 at 8:17am
Print Post  
Hi Stoyan!
Thanks for the help, worked perfectly!
Julian
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint