Hmmmmm

I would have thought that the formattedheight - (height -
(topborder+bottomborder)) would have been precise - but it is off by 2
in this case.

The basic idea is to get to total height of the contents, and subtract
the height of the displayed portion of the contents. Is there anything
other than borderwidth that reduces the displayed contents from the
field height?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sheffield
Sent: Friday, May 20, 2005 4:16 PM
To: How to use Revolution
Subject: Re: calculating max vscroll

No, it was set to the default 2.

On May 20, 2005, at 2:09 PM, Lynch, Jonathan wrote:

> Was your borderwidth = 3?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris
> Sheffield
> Sent: Friday, May 20, 2005 4:04 PM
> To: How to use Revolution
> Subject: Re: calculating max vscroll
>
> Using (The formattedheight of field "myField1") - (the height of
> field "myfield1") doesn't seem to work quite right.  When I calculate
> that value for the field I get 67 (formattedHeight is 392 and height
> is 325).  When I scroll it to the max and check the vscroll property,
> it turns out to be 61 or 62, depending on whether I drag the
> scrollbar or use my mouse wheel, respectively (and that's another
> question:  why would it scroll more when using the mouse wheel?
> Seems odd to me).
>
> Anyway, the scrolling problem has gone away thanks to Jonathan.  I
> started looking at the borders of the two fields and that was the
> difference. Originally neither one had a border.  At one point I
> added a border to the main field, but didn't to the other. That was
> causing the weird scrolling behavior.  Once I added a border to the
> other field it worked fine.  :-)
>
> Thanks everyone.
>
>
>
> On May 20, 2005, at 1:50 PM, Dave Cragg wrote:
>
>
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to