Vscroll Property of a field that is scrolled to the end

Scott Rossi scott at tactilemedia.com
Sun Jul 6 16:44:23 EDT 2008


Recently, Sivakatirswami wrote:

> How do you get the vscroll of a field that would be scrolled all the way
> to the end, without actually scrolling it to the end?

The formattedHeight of the field - the height of the field - the margins of
the field comes very close.  But for an exact number, I usually lock the
screen, set the vscroll to a huge amount (100000000), get the scroll of the
fld, reset the vscroll to its original value, and then unlock the screen.  A
bit goofy but it's fast and it works.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list