Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) move a diagram (Read 4971 times)
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
move a diagram
Feb 12th, 2009 at 2:31pm
Print Post  
Hi,
My diagram is bigger than the window.
Is there an Option to move the diagram by the mouse?
I don't want using a scroll.
10X
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: move a diagram
Reply #1 - Feb 12th, 2009 at 2:38pm
Print Post  
Hi,

ALT + dragging should pan the diagram, but it still requires a ScrollViewer. If by 'I don't want using a scroll' you mean you don't want scrollbars visible, set the ScrollbarVisibility properties of the ScrollViewer to hide them.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: move a diagram
Reply #2 - Feb 12th, 2009 at 2:54pm
Print Post  
Is it available to move the diagram with buttons?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: move a diagram
Reply #3 - Feb 12th, 2009 at 2:56pm
Print Post  
Yes, if you set the MiddleButtonAction or RightButtonAction property to Pan.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: move a diagram
Reply #4 - Feb 12th, 2009 at 3:06pm
Print Post  
I mean buttons on the screen.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: move a diagram
Reply #5 - Feb 12th, 2009 at 3:09pm
Print Post  
Set the diagram's ScrollX and ScrollY properties - still requires a ScrollViewer parent.

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


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: move a diagram
Reply #6 - Feb 12th, 2009 at 3:13pm
Print Post  
Is there an option to set the 'LeftButtonAction' to pan, like RightButtonAction?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: move a diagram
Reply #7 - Feb 12th, 2009 at 3:15pm
Print Post  
There isn't one.
  
Back to top
 
IP Logged
 
Naomi
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Jan 14th, 2009
Re: move a diagram
Reply #8 - Feb 12th, 2009 at 3:30pm
Print Post  
Hi,
Can you explain my the logic? or the idea?
How can the user guess that he has to press on ALT in order to pan? Or right click?
Didn't you have a function, I can use for the moving?
Thank's.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: move a diagram
Reply #9 - Feb 12th, 2009 at 3:36pm
Print Post  
They can guess it the usual way - from your documentation or from a tooltip 8) Also using the middle mouse button (pressing down the mouse wheel if the mouse is without a middle button) for panning is pretty common, e.g. see MS Word or any browser. As mentioned above, you can change the scroll position programmatically by setting ScrollX and ScrollY. For the time being, you could handle the diagram's mouse events and change the scroll position from the MouseMove handler if you need panning with the left button.
  
Back to top
 
IP Logged
 
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: move a diagram
Reply #10 - Feb 15th, 2009 at 12:40pm
Print Post  
Is there an option to add the property "pan" to the Behavior of the diagram your next version?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: move a diagram
Reply #11 - Feb 16th, 2009 at 8:43am
Print Post  
Yes, we can do that.
  
Back to top
 
IP Logged
 
tzippy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 77
Joined: Jan 11th, 2009
Re: move a diagram
Reply #12 - Feb 16th, 2009 at 8:54am
Print Post  
Thanks a lot  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint