guides:programming:programmers_reference_manual:stop_method_animate

STOP method (Animate)

Stops the playback of an animation file.

bSuccess = Exec_Method( CtrlEntID, "STOP" )

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

N/A

 
// 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" )
 
 
 

N/A

  • guides/programming/programmers_reference_manual/stop_method_animate.txt
  • Last modified: 2023/10/25 10:50
  • by 127.0.0.1