AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de cadenas
  • Animating a group of controls
  • Special cases
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Makes a control (or a group of controls) visible in a window. An animation can be set on the controls during this operation.
Linux No animation can be played when the controls are made visible.
Ejemplo
WINDEVReportes y ConsultasCódigo de Usuario (UMC)
// Makes the GR_Name group of controls visible
ControlVisible(GR_Name, animFadeIn, 200)
Sintaxis
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:
animCoverDownThe new element appears from the top and covers the initial element.
animCoverFromCenterThe new element appears from the center and covers the initial element.
animCoverFromCornersThe new element appears from the corners and covers the initial element.
animCoverLeftThe new element appears from the right and covers the initial element.
animCoverRightThe new element appears from the left and covers the initial element.
animCoverUpThe new element appears from the bottom and covers the initial element.
animFadeInFade-in animation.
animFlipDownwardDiagonalFlip around the diagonal that goes from the top left to the bottom right.
animFlipUpwardDiagonalFlip around the diagonal that goes from the top right to the bottom left.
animShrinkAndCoverFromCornersThe initial element shrinks and the new element appears from the corners.
animSlideDownScrolling vers le bas.
animSlideLeftSlide left.
animSlideRightSlide right.
animSlideUpSlide up.

Linux 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,
  • 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.
Linux This parameter is ignored. No animation can be played when the control is made visible.
Observaciones
WINDEVReportes y ConsultasCódigo de Usuario (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.
  • 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.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 14
Esta página también está disponible para…
Comentarios
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 01 2019

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local