RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
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

Re: calculating max vscroll

2005-05-20 Thread Richard Gaskin
Chipp Walters wrote: Yep, you're correct, they are, but if you're looking to scroll the text to the bottom, then you would want to subtract the margin from the formattedHeight as it's not necessary to include the bottom white space to view the entire text. I believe the overage is safe in his case,

Re: calculating max vscroll

2005-05-20 Thread Chris Sheffield
: 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 v

Re: calculating max vscroll

2005-05-20 Thread Chipp Walters
Yep, you're correct, they are, but if you're looking to scroll the text to the bottom, then you would want to subtract the margin from the formattedHeight as it's not necessary to include the bottom white space to view the entire text. -Chipp Lynch, Jonathan wrote: Aren't the margins included in th

RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
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

Re: calculating max vscroll

2005-05-20 Thread Chris Sheffield
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 b

Re: calculating max vscroll

2005-05-20 Thread Dave Cragg
On 20 May 2005, at 20:19, Chris Sheffield wrote: Does anyone have a function that will calculate the maximum amount a field can scroll if its height is too small to display it's entire contents at once? (did that make sense; it's been a long day and I have a headache :-)) Problem is I have

RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
Aren't the margins included in the formattedheight? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters Sent: Friday, May 20, 2005 3:40 PM To: How to use Revolution Subject: Re: calculating max vscroll Hi Chris, You also may want to take

Re: calculating max vscroll

2005-05-20 Thread Chipp Walters
Hi Chris, You also may want to take into account the field's margin settings. best, Chipp Chris Sheffield wrote: Does anyone have a function that will calculate the maximum amount a field can scroll if its height is too small to display it's entire contents at once? (did that make sense; it's

Re: calculating max vscroll

2005-05-20 Thread Richard Gaskin
Chris Sheffield wrote: Does anyone have a function that will calculate the maximum amount a field can scroll if its height is too small to display it's entire contents at once? (did that make sense; it's been a long day and I have a headache :-)) I think what you're looking for is: get the

RE: calculating max vscroll

2005-05-20 Thread Lynch, Jonathan
I believe it is this: (The formattedheight of field "myField1") - (the height of field "myfield1") However, you may also need to adjust for a horizontal scrollbar and/or the thickness of the border of the field. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha