Scrollbar Covering Resizebox

malte.brill at malte.brill at
Mon Jan 3 12:53:39 EST 2005


if you want a seperate scrollbar and don´t want to reset the endvalue
each time you change the text you might try this:
set the startvalue of the scrollbar to 0
endvalue 100
thumbSize 1

in the scrollbars script:

on scrollbarDrag
  put the formattedHeight of fld "yourField"-the height of fld
"yourField" into maxScroll
  set the vScroll of fld "yourField" to round((maxScroll/100)*the
thumbpos of me) 
end scrollbarDrag



More information about the Use-livecode mailing list