PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Animating a group of controls
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Makes a control (or a group of controls) visible in a window. During this operation, an animation can be performed on the controls.
LinuxWindows Mobile No animation can be played when the controls are made visible.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WINDEVReports and QueriesUser code (UMC)
// Makes the GR_Name group of controls visible
ControlVisible(GR_Name, animFadeIn, 200)
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:
animSlideDownScroll to the bottom.
animSlideRightScroll right.
animSlideLeftScroll left.
animSlideUpScroll up.
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.
animCoverFromCornersThe image is displayed from the 4 corner while the previous status is overlapped.
animCoverDownScrolling to the bottom while the previous status is overlapped.
animCoverRightScrolling to the right while the previous status is overlapped.
animCoverLeftScrolling to the left while the previous status is overlapped.
animCoverUpScrolling to the top while the previous status is overlapped.
animCoverFromCenterNew status appearing from the center with a zoom effect while the previous status is overlapped.
animShrinkAndCoverFromCornersThe previous status is shrunk then the new status is appearing from the 4 corners.

LinuxWindows Mobile This parameter is ignored. No animation can be played when the control is made visible.
<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,
  • Versions 23 and later
    the duration in a readable format (e.g., '1cs' or '10 ms').
    New in version 23
    the duration in a readable format (e.g., '1cs' or '10 ms').
    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.
LinuxWindows Mobile This parameter is ignored. No animation can be played when the control is made visible.
Remarks
WINDEVReports and QueriesUser code (UMC)

Animating a group of controls

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

Special cases

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

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1973-publica-windev-comandos-26.html

// ESCONDER
ControlInvisible(GR_MATOS,animShrinkThen4Corner,500)
//MOSTRAR
ControlVisible(GR_MATOS,animShrinkThen4Corner,500)
amarildo
01 Jan. 2019