GoDiagram Win Reference
InsertAfter Method

Add or move an object to be after an existing child.
Syntax
'Declaration
 
Public Overridable Sub InsertAfter( _
   ByVal child As GoObject, _
   ByVal newobj As GoObject _
) 
public virtual void InsertAfter( 
   GoObject child,
   GoObject newobj
)

Parameters

child
newobj
Remarks
The children of a group are ordered with respect to each other. This method makes the newobj be in the group at the position after the child, so that the newobj will be painted immediately after the child. If the newobj already belonged to this group, only its position in the list is changed. The newobj must not already be part of a different group or be a top-level object in some layer. The existing child must be either null or a member of this group (but not be the same as newobj). If the child is null, the newobj is added at the end of the list, in front of all other objects in this group.
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

GoGroup Class
GoGroup Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback