B
Bill
Encountered an interesting condition when using Steven's
fTextWidth function in a report:
intTemp = fTextWidth(Me.MyControl) 'Get string length in twips
Then,
Me.MyControl.Width = intTemp 'Adj Ctl width per string
The resulting display of MyControl shows a truncated string,
i.e., having adjusted the width of the control the string is too
long to fit in the control adjusted exactly to its length.
Do the widths of controls have some sort of obscured amount
of overhead?
Bill
fTextWidth function in a report:
intTemp = fTextWidth(Me.MyControl) 'Get string length in twips
Then,
Me.MyControl.Width = intTemp 'Adj Ctl width per string
The resulting display of MyControl shows a truncated string,
i.e., having adjusted the width of the control the string is too
long to fit in the control adjusted exactly to its length.
Do the widths of controls have some sort of obscured amount
of overhead?
Bill