Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Attached Nodes moving when node resized (Read 1135 times)
srinivas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 41
Joined: Jul 27th, 2010
Attached Nodes moving when node resized
Aug 19th, 2010 at 1:37pm
Print Post  
Hi,

I have some nodes attached to a group and when I resize the group node, attached nodes are moving in the direction I resize.

This is not happening in all directions. Attached nodes are not moving when I resize using the handles at BottomCenter, BottomRight and MiddleRight, they are moving when I use other handles(ResizeTopLeft,ResizeTopRight,ResizeBottomLeft,ResizeTopCenter.ResizeMidd
leLeft).

I need the nodes not moved when I use any handle to resize the group.

I am using latest Mindfusion Diagramming control for WinForms version 5.3.5

I found similar post at http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_disc;action=display;num=125025771...

but could not understand what the solution was as it seems that was resolved.

I am attaching the nodes at TopLeft using the below code
if (e.Node.Bounds.Contains(n.Bounds))
{
e.Node.Obstacle = false;
n.AttachTo(e.Node, AttachToNode.TopLeft);
}

Please let me know what needs to be done to not to move the attached nodes when I am resizing the group. Please suggest a solution, Thanks in advance.

Regards
Velidanda
  
Back to top
 
IP Logged
 
srinivas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 41
Joined: Jul 27th, 2010
Re: Attached Nodes moving when node resized
Reply #1 - Aug 21st, 2010 at 2:04pm
Print Post  
Ok, got this working by myself.

Tried handling StartNodeModifying event and reattached nodes to different location based on the adjustment handle.

Its working perfectly, thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint