Home | Sign in | English UK
  • Animating a group of controls
  • Special cases
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Makes a control (or a group of controls) invisible in a window. During this operation, an animation can be performed on the controls.
Reports and Queries
// Makes the group of controls named GR_Name invisible
ControlInvisible(GR_Name, animFadeIn, 200)
ControlInvisible(<Control name> [, <Type of animation> [, <Animation duration>]])
<Control name>: Character string (with or without quotes)
Name of the control or group of controls that must be made invisible.
<Type of animation>: Optional Integer constant
Type of animation to play:
animScrollBottomScroll to the bottom.
animScrollRightScroll to right.
animScrollLeftScroll to left.
animScrollTopScrolling to the top.
animFlipDownwardDiagonalFlip around the diagonal from the top left point to the bottom right point.
animFlipUpwardDiagonalFlip around the diagonal from the top right point to the bottom left point.
animFadeInFade-in animation.
animOverlap4CornerThe image is displayed from the 4 corner while the previous status is overlapped.
animOverlapBottomScrolling to the bottom while the previous status is overlapped.
animOverlapRightScrolling to the right while the previous status is overlapped.
animOverlapLeftScrolling to the left while the previous status is overlapped.
animOverlapTopScrolling to the top while the previous status is overlapped.
animOverlapZoomNew status appearing from the center with a zoom effect while the previous status is overlapped.
animShrinkThen4CornerThe previous status is shrunk then the new status is appearing from the 4 corners.
<Animation duration>: Optional integer
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,
  • Versions 23 and later
    the duration in clear ('1cs' or '10 ms' for example).
    New in version 23
    the duration in clear ('1cs' or '10 ms' for example).
    the duration in clear ('1cs' or '10 ms' for example).
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.
Reports and QueriesWindows

Animating a group of controls

If <Control Name> corresponds to a group of controls, the animation is played in the rectangle defined by the most top left control and by the most top right control.
The controls that do not belong to the group of controls but found in this area will also be animated.

Special cases

  • ControlInvisible has no effect if the control or the group of controls is not visible.
  • ..Visible can also be used to make the controls invisible. This property cannot be used to play an animation during this operation. In Windows Mobile and in Linux, ..Visible and ControlInvisible are equivalent.
Component : wd240obj.dll
Minimum version required
  • Version 14
This page is also available for…
Video ControlVisible/ControlInvisible


01 Jan. 2019