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
// 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
<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.
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.
- 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.