GoDiagram Web Reference
OnGotSelection Method (GoObject)

The GoSelection of the GoView in which this object has been selected.
Called when this object becomes selected.
Syntax
'Declaration
 
Public Overridable Sub OnGotSelection( _
   ByVal sel As GoSelection _
) 
public virtual void OnGotSelection( 
   GoSelection sel
)

Parameters

sel
The GoSelection of the GoView in which this object has been selected.
Remarks
By default this method calls AddSelectionHandles on this object's SelectionObject. Only document objects get selection handles--if this object does not belong to a document (for example by being a view object), no selection handles are created. Any implementation of this method should not change which objects are selected.
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

GoObject Class
GoObject Members
OnLostSelection Method
AddSelectionHandles Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback