Table of Contents

STOP method (Animate)

Description

Stops the playback of an animation file.

Syntax

bSuccess = Exec_Method( CtrlEntID, "STOP" )

Returns

"1" (TRUE$) if the clip was stopped successfully, "0" (FALSE$) otherwise.

Remarks

N/A

Example

 
// Example:

   //

   // Open an AVI file called "FileCopyXP.avi" and begin playing

   // immediately, stopping after some process has finished

   

   $Insert Logical

   

   Call Set_Property_Only( @Window : ".ANI_COPYING", 

                           "CLIPNAME",               

                           ".\avi\filecopyxp.avi" )

 

   Call Exec_Method( @Window : ".ANI_COPYING", "PLAY" )

   

   // Do long running data process ....

   

   Call Exec_Method( @Window : ".ANI_COPYING", "STOP" )
 
 
 

See Also

N/A