|
|
|
|
|
NbAnimationSteps (Property) In french: NbEtapeAnimation
The NbAnimationSteps property is used to get and specify the number of drawings in the image that defines the animation of a custom infinite Progress Bar control. This image was specified in the editor or via Image. PROGBAR_Endless1.Image = "MyAnimation.png" PROGBAR_Endless1.NbAnimationSteps = 10 // 10 images in "MyAnimation.png"
Syntax
Finding out the number of drawings found in the animation Hide the details
<Result> = <Infinite Progress Bar control>.NbAnimationSteps
<Result>: Int Number of steps defined for animating the infinite Progress Bar control. <Infinite Progress Bar control>: Control name Name of the infinite Progress Bar control to use.
Modifying the number of drawings making up the animation Hide the details
<Infinite Progress Bar control>.NbAnimationSteps = <New value>
<Infinite Progress Bar control>: Control name Name of the infinite Progress Bar control to use. <New value>: Int Number of steps to perform for animating the infinite Progress Bar control. Remarks - This property has no effect if the control is native. The control must be a custom infinite Progress Bar control.
- The image is sliced vertically in "bands" for each animation step.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|