newieQ: How to set key-tab focus in Rebol/View ?
[1/3] from: jasonic:nomadics at: 9-Oct-2001 8:14
1.1 Is there any way to set focus for buttons in Rebol/View so one can
hit ENTER or RETURN instad of mouse clicks?
1.2 Cycle through buttons using TAB keys ?
thanks
:Jason
[2/3] from: ammoncooke:ya:hoo at: 9-Oct-2001 16:24
try;
view layout [button "Quit" [unview] #"^M"]
That little #"^M" is the enter key. There is a script somewhere
(REBOLForces.com?) that will tell you what key has been pressed.
Enjoy!!
Ammon
[3/3] from: allenk:powerup:au at: 11-Oct-2001 23:03
----- Original Message -----
From: "Ammon Cooke" <[ammoncooke--yahoo--com]>
To: <[rebol-list--rebol--com]>
Sent: Wednesday, October 10, 2001 9:24 AM
Subject: [REBOL] Re: newieQ: How to set key-tab focus in Rebol/View ?
> try;
>
> view layout [button "Quit" [unview] #"^M"]
>
> That little #"^M" is the enter key. There is a script somewhere
> (REBOLForces.com?) that will tell you what key has been pressed.
Yes that script is in the FAQ.
http://www.rebolforces.com/view-faq.html#sect3.4.
Cheers,
Allen K