Thanks, Mike. I think your code, with the hints about using feel events in
Allen Kamp's Rebol Forces site (thanks Chris!), should do the trick.
Hopefully I have something worked out later today that'll do the trick.

Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-

----- Original Message -----
From: "Mike Myers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 1:27 AM
Subject: [REBOL] Re: How do I... or Up and Down


> Andrew,
> This sensor use might be what you want.
>
> ---Some limitations:
> a. applies to the whole window not just the text-list so
> you can't have several together
> b. does not interact with previous mouse selections.
> c. I don't believe it will scroll a list. at least it does not in
easyvid.r
> when the list of screens gets long.
>
> ---Sample
>
> i: 1
> show-pick: func [tl direction] [
> i: either direction = 'up [i - 1] [i + 1]
> i: max 1 min length? tl/data i
> tl/picked: compose [(pick tl/data i)]
> show tl
> ]
>
> view layout [
> days: text-list 200x140 data ["Monday" "Tuesday" "Wednesday" "Thursday"
> "Friday" "Saturday" "Sunday"]
> sensor keycode [up left] [show-pick days 'up]
> sensor keycode [down right] [show-pick days 'down]
> ]
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to