scroll

yves COPPE yvescoppe at skynet.be
Sun Jan 13 06:02:01 EST 2002


Hello,

I have a vertical scrollbar controlling the scrolling of a few flds

I write so the script of the scrollbar :

on scrollBarDrag x
   lock messages
   repeat with a = 7 to 20
     set the scroll of fld a to x
   end repeat
   unlock messages
end scrollBarDrag

It works but the scrolling of the scrollbar is not proportional to 
the scrolling of the flds : when teh flds are finished scrolling, the 
thumbnail of the scrollbar is half his way.
the endvalue of the scrollbar is too high


How can I solve this ?

thanks.
-- 



More information about the use-livecode mailing list