[REBOL] [scrolling] Scroll-wheel problem with area
From: carl:cybercraft at: 3-Aug-2004 17:48
Hi all,
I've been writing a routine to add scroll-wheel support to scripts and I've hit a slight
snag with stopping an area scrolling out of the top of its box - ie, I can't see any
way to do it. :-)
With text-lists you have lc and the length of the list's block to control this, but I
can't find how to get such values with an area or any other way it could be done. With
areas I'm changing their para/scroll/y value to scroll them.
The routine I'm working on, which is usable now, can be found here...
http://homepages.paradise.net.nz/left/rebol/scripts/scrolling.r
Any ideas?
-- Carl Read