GoDiagram Win Reference
DoSelect Method (GoTool)

a GoInputEventArgs describing the input event
Any tool can call this method in order to implement the standard selection behavior for a user click.
Syntax
'Declaration
 
Public Overridable Sub DoSelect( _
   ByVal evt As GoInputEventArgs _
) 
public virtual void DoSelect( 
   GoInputEventArgs evt
)

Parameters

evt
a GoInputEventArgs describing the input event
Remarks
This sets the CurrentObject to be the result of a call to the view's GoView.PickObject to pick the selectable document object at the current point. If an object is found, what happens to the selection depends on any modifiers to the event: if GoInputEventArgs.Control is true, we toggle the selectedness of the current object; if GoInputEventArgs.Shift is true, we add the current object to the selection; otherwise we just make the current object the only selection. If no object is found and neither GoInputEventArgs.Control nor GoInputEventArgs.Shift are true, we empty the selection.
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

GoTool Class
GoTool Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback