|
|
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 AutoSizeTextBox.zip Ver 3.0 is a database containing functions to automatically resize a TextBox control to fit the current fields contents. Use the DrawText API with the DT_CALCRECT Flag to calculate the control's dimensions required to hold the current data. Version 3.0 fixes several bugs. Additionally there is now 1 single function to handle both Single and Multiline displays. |
|
| |||||||||||||||||||||||||||||||