ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 HeightWithAnimation property is used to modify the height 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 height of the 3rd cell with animation
LAYOUT_Data[3].HeightWithAnimation = LAYOUT_Data[3].Height + 50
Syntax

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

<Cell>.HeightWithAnimation = <New height>
<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 height>: Integer
New control height.
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 vertical Layout controls (cells one below the other).
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help