ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The FutureHeight property is used to determine how high an auto-resizing control in a report will be after being 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.
Example
// If the control is going to be resized before it is printed
IF MyControl.Height < MyControl.FutureHeight THEN
// Resize its neighbor
NeighborControl.Height = MyControl.FutureHeight
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 an auto-resizing control is calculated based on the content of the control at the time the FutureHeight property 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 through programming in the control "Before printing" event.

Limits

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

Last update: 05/26/2022

Send a report | Local help