GoDiagram Web Reference
ComputeEffectiveSelection Method

true for moving, false for copying
Produce a new GoSelection that is the real set of objects to be moved by MoveSelection or copied by CopySelection.
Syntax
'Declaration
 
Public Overridable Function ComputeEffectiveSelection( _
   ByVal coll As IGoCollection, _
   ByVal move As Boolean _
) As GoSelection
public virtual GoSelection ComputeEffectiveSelection( 
   IGoCollection coll,
   bool move
)

Parameters

coll
move
true for moving, false for copying

Return Value

a GoSelection that is cached as EffectiveSelection
Remarks
This method is used to try to avoid problems with double-moving due to duplicate entries or both a parent and its child being in the argument collection. This also removes objects whose DraggingObject is null or has a false value for CanMove (if move is true) or a false value for CanCopy (if move is false). Furthermore this adds to the collection all links that have both ports in 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

GoToolDragging Class
GoToolDragging Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback