Use the updated fTextWidth and fTextHeight functions for an accurate solution. TextHeightWidth is a replacement for the Report object's TextWidth and TextHeight methods. It is multiline aware and can work in both Report and Form views.
NEW CanGrow.zip Ver 3.0 is a database containing functions to simulate CanGrow/CanShrink for Forms in Form View.
Use the DrawText API with the DT_CALCRECT Flag to calculate the control's CanGrow(n) height required to hold the current data. Resizes the Detail Section to match the newly sized Control.
Form View now matches the CanGrow/CanShrink settings of Print Preview and the output printed page.
Added support for Label controls.