Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Move box for 1 pixel with mouse (Read 980 times)
meriturva
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Feb 27th, 2007
Move box for 1 pixel with mouse
Sep 13th, 2007 at 5:38am
Print Post  
Hi to all,
i have to move boxes (with mouse) and i need precision about 1 pixel.
The FlowChart has the MeasureUnit in Pixel and no grid.

When i move the box for more than 1 pixel the box is moved correclty but when i move the box only about 1 pixel the box returns to the initial position.

How can i disable this funcion?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Move box for 1 pixel with mouse
Reply #1 - Sep 13th, 2007 at 10:05am
Print Post  
Hi,

Currently there is a hard-coded number of pixels the mouse should move before the control considers this a drag operation. Otherwise clicks often created reflexive links when the control did not use that threshold value. If you have upgraded to version 5, you can set the MouseMoved flag yourself by handling the MouseMove event and adding this code:

if (diagram.Interaction != null)
     diagram.Interaction.MouseMoved = true;

Then the control should let you move the box with 1 pixel.

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