Home
Up
Count
Item
Add
Move
MoveUp
MoveDown
Remove
OnBarRecordAdded
OnBarRecordChanged
OnBarRecordRemoved
OnBarRecordsSorted
OnBarRecordMoved
OnGroupAdded
OnGroupChanged
OnGroupRemoved
OnGroupMoved

GroupCollection.Move

Moves a group within the collection

Syntax

barlist.Groups.Move(group,moveType,target)

Parameters

group

Group to be moved. This can be the group name, index, or a group object

moveType

Specifies where the group is to be moved relative to the target group. (mtBefore,mtAfter).

target

Target group. This is the group that group will be moved next to. This can be the group name, index, or a group object

Returns

None

Example

This example moves group "Pier 3" immedately after group "Pier 2"

barlist.Groups.Move "Pier 3", mtAfter, "Pier 2"

 

Copyright © 1999, Washington State Department of Transportation