GoDiagram Web Reference
InsertBefore Method

Add or move an object to be before an existing child.
Syntax
'Declaration
 
Public Overridable Sub InsertBefore( _
   ByVal child As GoObject, _
   ByVal newobj As GoObject _
) 
public virtual void InsertBefore( 
   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 before the child, so that the newobj will be painted immediately before 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 beginning of the list, behind 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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback