- Animating a group of controls
- Special cases
ControlVisible (Function) In french: ChampVisible Makes a control (or a group of controls) visible in a window. An animation can be set on the controls during this operation.
Syntax
ControlVisible(<Control used> [, <Type of animation> [, <Animation duration>]])
<Control used>: Name of control or group of controls Name of the control or group of controls that must be made visible. <Type of animation>: Optional Integer constant Type of animation to play: | | animCoverDown | The new element appears from the top and covers the initial element. | animCoverFromCenter | The new element appears from the center and covers the initial element. | animCoverFromCorners | The new element appears from the corners and covers the initial element. | animCoverLeft | The new element appears from the right and covers the initial element. | animCoverRight | The new element appears from the left and covers the initial element. | animCoverUp | The new element appears from the bottom and covers the initial element. | animFadeIn | Fade-in animation. | animFlipDownwardDiagonal | Flip around the diagonal that goes from the top left to the bottom right. | animFlipUpwardDiagonal | Flip around the diagonal that goes from the top right to the bottom left. | animShrinkAndCoverFromCorners | The initial element shrinks and the new element appears from the corners. | animSlideDown | Scroll to the bottom. | animSlideLeft | Slide left. | animSlideRight | Slide right. | animSlideUp | Slide up. |
<Animation duration>: Optional integer or optional Duration Duration of animation in hundredths of a second. This parameter can correspond to: - an integer corresponding to the number of hundredths of a second,
- a Duration variable,
- the duration in a readable format (e.g., '1cs' or '10 ms').
We recommend that you use a short duration (up to 1 second). The application is locked as long as the animation is not over. If the user clicks or preses a key, the animation is stopped and the controls are displayed in their final status. Remarks Special cases - ControlVisible has no effect if the control or the group of controls are visible.
- The Visible property can also be used to make controls visible. This property cannot be used to play an animation during this operation. In Linux, the Visible property and the ControlVisible function are equivalent.
This page is also available for…
|
|
|
|