Hi Joe,
Hi Everyone,
Here's another newbie question. What's the best way to get several
fields to
scroll together?
dunno if this is the BEST way, but you can script the one and only
field WITH
a scrollbar like this:
on scrollbardrag tValue
## tValue contains the amount of "scrolling" of this field
## and we just apply that value to the other fields...
set the scroll of fld 2 to tValue
set the scroll of fld 3 to tValue
set the scroll of fld 4 to tValue
end scrollbardrag
I have 4 fields side by side and only the right one has a scrollbar
with this script.
See this example "live" on Rev-online -> klausimausi -> Fun with fields
Hint:
This will not scroll if you use a "scrollwheel" on your mouse!
You will have to trap some "rawKeyDown"s for this.
I don't have a scrollwheel, so I cannot help you with that one, in
case you need it...
Joe
Orlando, Florida
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
_______________________________________________
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