<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: field calculations</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1">What is the
proper or best way of calculating the number of lines that are in the
visible part of a field?  In other words, if I put "1"
&cr& "2" &cr& "3"... etc. into the
field, what would be the highest number visible in a non-scrolling
field?</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">A first
guess would be the (height of the field)/(textHeight of the field),
but what about margins and borders?</font><br>
</blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">What about
((height of the field)-(topMargin of the field)-(bottomMargin of the
field))/(textHeight of the field)?</font></blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><font face="Arial">--<font size="-1">
D</font></font></blockquote>
<div><br></div>
<div><br></div>
<div>check the formattedHeight in the dictionary.</div>
<div><br></div>
<div>cheers.</div>
<div><br></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>Greetings.<br>
<br>
Yves COPPE<br>
<br>
Email : yvescoppe@skynet.be</div>
</body>
</html>