guides:programming:programmers_reference_manual:center_property_animate

CENTER property (Animate)

Centers the animation in the middle of the control when set, otherwise the animation is displayed in the top-left position.

The CENTER property is a Boolean value of "0" (FALSE$) or "1" (TRUE$).

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

N/A

 
// Example:

   //

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

   // immediately in the centre of the control

   

   $Insert Logical

   

   ObjxArray =        @Window : ".ANI_COPYING"

   PropArray =        "AUTOPLAY"

   DataArray =        TRUE$

 

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

   PropArray := @Rm : "CENTER"

   DataArray := @Rm : TRUE$

   

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

   PropArray := @Rm : "CLIPNAME"

   DataArray := @Rm : ".\avi\filecopyxp.avi"

   

   Call Set_Property_Only( ObjxArray, PropArray, DataArray )
 
 
 

N/A

  • guides/programming/programmers_reference_manual/center_property_animate.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1