AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The WidthWithAnimation property is used to modify the width of a cell of a Layout control with the "Resize cell" animation defined:
  • in the "Advanced" tab of the project description window ("Control animation" button).
  • in the "Style" tab of the control or project.
Example
// Increase the width of the 3rd cell by 100 px with animation
LAYOUT_Data[3].WidthWithAnimation = LAYOUT_Data[3].Width + 50
Syntax

Modifying the width of a cell of a Layout control with an animation Hide the details

<Cell>.WidthWithAnimation = <New width>
<Cell>: Control name
Cell in a Layout control. The syntax used to designate the Layout control cell is as follows:
<Layout control>[<Cell number>]
<New width>: Integer
New control width.
Remarks
  • The animation properties (duration, for example) can be specified in the project options and overridden in the control style.
  • This property allows you to resize the Layout control with an animation.
  • This property only works on horizontal Layout controls (cells one beside the other).
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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