Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Remove handels when mouse leaves diagramView (Read 1445 times)
fglazenburg
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jul 1st, 2008
Remove handels when mouse leaves diagramView
Sep 19th, 2008 at 9:51am
Print Post  
Hey,

When the mousecursor leaves the diagramView via a node which is placed on the edge of the diagramView, the handles remain on the diagramnode untill the mousecursor enters the diagramview again (not via the same node, but via empty space in the view).

Is there a way to undo this or a setting which lets the view update itself when the mouse leaves the view.

Thanks in advance!

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Remove handels when mouse leaves diagramView
Reply #1 - Sep 19th, 2008 at 11:42am
Print Post  
Hi,

You might handle the DiagramView.MousLeave event and reset the ModificationStart property to hide the handles:

diagramView.ModificationStart = ModificationStart.SelectedOnly;
diagramView.ModificationStart = ModificationStart.AutoHandles;
diagram.Invalidate();

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
fglazenburg
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jul 1st, 2008
Re: Remove handels when mouse leaves diagramView
Reply #2 - Sep 19th, 2008 at 1:38pm
Print Post  
Works!

Thanks (again!)

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint