I should have said: Desktop - macOS and Windows

On 7/20/2021 12:19 PM, Andrew at MidWest Coast Media via use-livecode wrote:
What device and fullscreenmode are you using while running into this?
Possibly related to: https://quality.livecode.com/show_bug.cgi?id=21456 
<https://quality.livecode.com/show_bug.cgi?id=21456>

-- Andrew Bell

Subject: Double checking maximum vertical scroll
Message-ID: <42be648c-8e83-1bcd-b804-ec5547c6b...@researchware.com>
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?


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to