At 2:33 PM -0700 7/29/2001, [EMAIL PROTECTED] wrote:
>Does anyone know how to get the number of lines in a field that will not
>be return delimited but by what you actually see as a line on the screen?
Try this:
the formattedHeight of (line 1 to 3 of field "Whatever") \
div the lineHeight of field "Whatever"
The formattedHeight of a chunk of a field gives you the height in pixels,
and dividing it by the lineHeight (assuming the field's fixedLineHeight is
true) gives you the number of screen lines.
--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.