Double checking maximum vertical scroll

Andrew at MidWest Coast Media andrew at
Tue Jul 20 12:19:43 EDT 2021

What device and fullscreenmode are you using while running into this?
Possibly related to: <>

-- Andrew Bell

> Subject: Double checking maximum vertical scroll
> Message-ID: <42be648c-8e83-1bcd-b804-ec5547c6b72b at>
> Content-Type: text/plain; charset=utf-8; format=flowed
> In a list field, if you are scrolling a field by script control, the max 
> vertical scroll to display the last line would be:
> put (the height of me - the topMargin of me - the bottomMargin of me) 
> into tAdjustedHeight -- tope and bottom margins
> if the showBorder of me is true then put tAdjustedHeight - (the 
> borderWidth of me * 2) into tAdjustedHeight -- top and bottom borders
> the formattedHeight of me - tAdjustedHeight into tMaxVerticalScroll
> -- essentially you have to take the formattedHeight minus the field 
> height and subtract out the margins and borders (if there are borders shown)
> Is this correct? Am I missing anything?

More information about the use-livecode mailing list