PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV and WINDEV Mobile 26 feature!
  • Details
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
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

Details

  • 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