Scroll multiple fields together
Sarah Reichelt
sarah.reichelt at gmail.com
Thu Jan 18 18:18:20 EST 2007
On 1/19/07, LunchnMeets at aol.com <LunchnMeets at aol.com> wrote:
> Hi Everyone,
>
> Is there an easy way to keep multiple scrolling fields in alignment when they
> are scrolled?
>
In each field, put a scrollBarDrag handler as follows:
on scrollBarDrag pNewValue
set the vScroll of fld "OtherField" to pNewValue
set the vScroll of fld "SomeField" to pNewValue
end scrollbarDrag
pNewValue contains the setting for the scroll of the current field, so
just apply that to all the others.
Cheers,
Sarah
More information about the use-livecode
mailing list