GefExprListAnim.MoveItem (method)

Moves the indicated source element to a different destination index.
Syntax: object.MoveItem SrcIndex, DestIndex
SrcIndex As long -
DestIndex As long -
Description: This method allows you to rearrange elements in the collection. Remember that the element expressions are evaluated in order. The first one that evaluates to True is the element that determines the animation effects.

This example assumes that there are at least two animations configured.


Sub ExprListAnim_MoveItem()
    Dim oCimExprListAnim As GefExprListAnim
    Set oCimExprListAnim = CimGetObject.ExprListAnim
    oCimExprListAnim.MoveItem 0, 1
End Sub