PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Caution: mode for calculating the future height
  • Limits
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 Property HeightFuture makes it possible to know the height of a self-expanding control in an report when this control will be enlarged. This property is mainly used to increase the size of a control located beside an auto-resizing control (in a form report for example).
Reminder: the current height of a control is returned by Height.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Si le champ va être redimensionné avant impression
IF MyControl.Hauteur < MyControl.HauteurFuture THEN
// On redimensionne son voisin
ChampVoisin.Hauteur = MyControl.HauteurFuture
END
Syntax
<Future height> = <Control used>.FutureHeight
<Future height>: Integer
Height of the control (including the border) expressed in millimeters when this control is enlarged.
<Control used>: Control name
Name of the auto-resizing control to use.
Remarks

Caution: mode for calculating the future height

The future height of a self-expanding field is calculated based on the content of the field at the time the Property FutureHeight is called..
Therefore, if the property is called in the "Before printing" event of the body block, the future height of one of the controls in the body block will ignore the assignments performed by programming in the control "Before printing" event.

Limits

  • This property only applies to auto-resizing controls in the reports. An control is auto-extensible if the "Auto-resizing" option is checked in the description window of the control (tab "UI").
  • This property does not apply to the RTF controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment