multi scroll

dunbarx at aol.com dunbarx at aol.com
Wed Feb 16 12:37:52 EST 2011



I remember something about this early in my LC career. I want to lock-step scrolling among a dozen or more fields.

The scrollBarDrag message in one field does the trick:

on scrollbarDrag
   lock screen
   repeat with y = 3 to 15
      set the scroll of fld y to the scroll of me
   end repeat
   unlock screen
end scrollbarDrag

But is this the best way? I sort of remember that a group worked better, but am not sure how to implement this. It is not
just a matter of adding a scrollbar to a group of scrolling fields. That works quite differently.

thanks...

Craig Newman
 



More information about the use-livecode mailing list