This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello. Is there a built in feature of diagram surface for panning, if not what may be the proper way to do it? Thanks. |
|
|
Hello again. I managed to implement panning, but i have a small problem. I want to remove the mouse rubberband effect while panning mode is active and user moves mouse for panning on diagram surface. Is that possible? Thanks. |
|
|
Hello ugalt Sorry for the delayed reply. There is built-in functionality for panning the diagram. To activate it, set the DiagramSurface.DragAction to Pan. Now, dragging the mouse on the diagram surface will pan the diagram. You can change this property between Pan and Select at run time based on user actions if you need to. For example, you could put the diagram into Select mode if the Ctrl key or some other key is pressed. That way your application can have both pan and drag-select functionalities if you need both of them. Jason Fauchelle |
|