Icon BeginAnimation Method

function BeginAnimation(AHandler: TInterfaceAnimationEvent):
      Integer

Available In: Visual Client Applications

Use this method to add an animation and register an animation frame event handler to be called based upon the monitor refresh rate, if supported, or at 30 times per second if the browser doesn't support the first method.

Animations require that each animation frame event handler execution be scheduled using the BeginAnimation or ContinueAnimation methods, with the BeginAnimation call required at the start of the animation, and the ContinueAnimation call required for all subsequent animation frames until the CancelAnimation method is called.

The return value is an integer that represents the animation, and can be used in further animation operations using the ContinueAnimation and CancelAnimation methods.

Information This method is not available at design-time. Any calls to it will cause a design-time compilation error when compiling the component library.
Image