Line Numbers

Ken Ray kray at sonsothunder.com
Fri Dec 31 21:57:53 EST 2004


On 12/31/04 6:23 PM, "D.Rothe" <drothe at optusnet.com.au> wrote:

> Obviously field 2 is a scrolling field so the problem is getting field 1 to
> scroll in unison with field 2 so the line numbers match the correct line.

Alex helped you with part 1, here's how to do part 2:

--Script of fld 1
on scrollBarDrag
  set the scroll of fld 2 to the scroll of me
end scrollBarDrag

--Script of fld 2
on scrollBarDrag
  set the scroll of fld 1 to the scroll of me
end scrollBarDrag


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list