ScrollbarLineDec's Speed in a little arrow

Malte Brill malte.brill at t-online.de
Wed Jun 30 07:15:35 EDT 2004


Hi,

try this (I used scrollbardrag, but it also should work with
scrollBarLineDec):

global oldseconds
on scrollbarDrag
  put the thumbpos of me into oldThumb
  put the milliseconds-oldseconds
  if the milliseconds-oldseconds<190 then
  --change the 190 to a value that is good for you
    set the thumbpos of me to oldthumb
    exit scrollbarDrag
  end if
  put the thumbposition of me into fld "serie"
  put the milliseconds into oldseconds
end scrollbarDrag


Best,

Malte



More information about the use-livecode mailing list