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 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).
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