PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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
..FutureHeight is used to find out the height of an auto-resizing control in a report when it is 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 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
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
// 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 according to the content of the control when ..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. 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 the RTF controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment