guides:programming:programmers_reference_manual:repetitions_property_animate

REPETITIONS property (Animate)

Specifies the number of times to play the animation.

The REPETITIONS property is an integer value that specifies the number of times to play the animation. If set to -1 (the default) then the clip plays indefinitely.

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

N/A

 
// Example:

   //

   // Open an AVI file contained in Shell32.dll with an ID of 43506

   // and begin playing immediately for a total of 10 times.

   

   $Insert Logical

   

   ObjxArray =        @Window : ".ANI_COPYING"

   PropArray =        "AUTOPLAY"

   DataArray =        TRUE$

 

   ObjxArray := @Rm : @Window : ".ANI_COPYING"

   PropArray := @Rm : "REPETITIONS"

   DataArray := @Rm : 10

   

   ObjxArray := @Rm : @Window : ".ANI_COPYING"

   PropArray := @Rm : "CLIPNAME"

   DataArray := @Rm : "shell32.dll#43506"

   

   Call Set_Property_Only( ObjxArray, PropArray, DataArray )
 
 
 

N/A

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