GoDiagram Web Reference
DoMouseUp Method (GoToolPanning)

On the first mouse up, set the Origin point and display the panning origin marker; on the second second mouse up, stop this tool.
Syntax
'Declaration
 
Public Overrides Sub DoMouseUp() 
public override void DoMouseUp()
Remarks

For WinForms, when autopanning, if the Origin has already been set, a mouse up just stops this tool. When manually panning, a mouse up just stops this tool, unless Modal is true, in which case this tool waits for a mouse down again to start panning during mouse moves.

For WebForms, the behavior is different. When autopanning, this method always sets the Origin to the FirstInput.ViewPoint, scrolls the view according to GoView.ComputeAutoPanDocPosition, and then stops this tool. When manually panning, this changes the DocPosition according to the difference between the mouse down and the mouse up points. Again, the value of Modal determines whether this tool then stops, or if it waits for another mouse down/up.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoToolPanning Class
GoToolPanning Members
Base Implementation in DoMouseUp

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback