Advances to the next image frame.

Syntax

rv = Send_Message(Ctrl, "OLE.GoToNextFrame")

Remarks

The GoToNextFrame method advances to the next frame or loops back to the first frame if past the end. In most cases, it's best to let the SRP Picture Control perform animation for you using the Animated and AnimationDelay properties. However, animation is halted during long engine operations. So, if you want animation to continue during a long select, for instance, then call this method periodically to force the picture control to move to the next frame and forcefully redraw.

Example

// Move to the next frame 
Send_Message(@Window:".OLE_PICTURE", "OLE.GoToNextFrame")

See Also

AnimatedFrameCount

  • No labels