Scrollbar Covering Resizebox
malte.brill at t-online.de
malte.brill at t-online.de
Mon Jan 3 12:53:39 EST 2005
Hi,
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
cheers,
Malte
More information about the use-livecode
mailing list