Hi Hershel,

You can disable a scrollbar object, which prevents dragging of the thumb completely.

You could also make the thumb jumb back to its original position. For this, you save the thumbPos into a local variable on mouseDown and set the thumbPos back to the stored value if necessary.

Surely, you could reset the thumbPos in the scrollbarDrag handler, but this looks bad.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

A large collection of scripts for HyperCard, Revolution, SuperCard and other programming languages can be found at http://runrev.info




On 10 apr 2008, at 01:29, Hershel Fisch wrote:
Hi, how can I trap a scrollbar drag, meaning it should not brag only on a
certain times?
Thanks, Hershel

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to