Getting vScroll movement of a field scrollbar
jhurley0305 at sbcglobal.net
Mon Dec 10 18:05:00 EST 2007
I have a field with button superimposed on the text.
I would like the buttons to scroll with the field.
I set the field script to:
put the vScroll of me into tStart
on scrollbarDrag newValue
put tStart & comma & newValue into msg box
The idea was to get the vertical movement of the scrollbar and move
the buttons accordingly.
But the field's scrollbar does not appear to get the mouseDown
message and so I don't get the tStart variable
How do I get the initial position of the scrollbar?
More information about the Use-livecode