GefMoveAnimAttrib.CanSlideWithExpression (method)

Gets a Boolean indicating whether the specified expression is a valid expressior for use with a slider action.
Syntax: Boolean = object.CanSlideWithExpression ( Expression )
Parameters:
Optional Expression As String -
Description: If the strExpression parameter is omitted, the Expression property of the GefMoveAnimAttrib is tested instead.

Example:

Sub MoveAnimAttrib_Expression()
    
    Dim oCimObj As GefObject
    Dim oCimMoveAnim As GefMoveAnim
    Dim oCimMoveAnimAttrib As GefMoveAnimAttrib
    
    Set oCimObj = CimGetObject
    Set oCimMoveAnim = oCimObj.MoveAnim
    If Not oCimMoveAnim Is Nothing Then
        Set oCimMoveAnimAttrib = oCimMoveAnim.HorizontalAttrib
        If Not oCimMoveAnimAttrib Is Nothing Then
            MsgBox "The expression is " & _
                oCimMoveAnimAttrib.Expression
        End If
    End If
    
End Sub