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
|
I'm using WPF Diagrams version 3 (latest build) and i have smartscrolling enabled. When i start dragging a new connection to a node that is not in the current view port the diagram does not scroll. The same is true if i try to drag an item from the toolbox to an area outside the viewport. Last but not least the mouse is not captured and the scrolling distance depends on the space left on the screen. |
|
|
Hello Markus I have now re-written the whole smart scrolling feature to use a timer-based system rather than the existing movement-based system. Holding the mouse near the edge of the diagram while dragging a node or connection etc will pan the diagram at a constant rate. The closer the mouse is to the edge of the diagram, the faster the diagram will pan, but up to a maximum speed. You'll also find that dragging a new connection, or dragging a node from the toolbox will now use the smart scrolling feature. This update will be available in the next nightly build. The next nightly build will be available at around 1200 GMT (about 8 hours from now). This will be downloadable from your account page: http://www.mindscapehq.com/store/myaccount Jason Fauchelle |
|
|
Hello Jason, awesome response time. That's the best support I've ever got from any control vendor. The feature works great and it fits perfectly to our needs. Thanks Markus |
|
|
Hi Jason, I have a null reference exception in Mindscape.WpfDiagramming.Foundation.ConnectionPointThumb.FindMouseOverElement() when SmartScrolling is enabled and the app is not in full window mode. When I drag a connection outside the boundaries of the main window the FindMouseOverElement method throws this exception. Thanks Markus |
|
|
Hello Markus I was unable to reproduce this exception, but I have put a null check in the only place that I think a null reference exception can occur in the FindMouseOverElement method. This will be available in the next nightly build. Let me know if the problem remains. -Jason Fauchelle |
|
|
Hi Jason, the null check fixed the problem. But you are right i can't reproduce it with your samples too. So maybe its something special in our application. Thanks Markus |
|