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-resizable control in a report when this control is enlarged. This property is mainly used to increase the size of a control located beside an auto-resizable 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 name>..FutureHeight
<Future height>: Integer
Height of the control (including the border) expressed in millimeters when this control is enlarged.
<Control name>: Character string (with or without quotes)
Name of the auto-resizable control.
Remarks

Caution: mode for calculating the future height

The future height of an auto-resizable 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 the auto-resizable controls found in the reports. A control is auto-resizable if the "Auto-resizable" option is checked in the control description window ("GUI" 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