[REBOL] Re: noob questions: keyboard access to buttons
From: anton::wilddsl::net::au at: 23-Apr-2008 1:04
Hi Doug,
Yes, you have to patch the default system a bit,
as I have done here:
do http://anton.wildit.net.au/rebol/gui/demo-button.r
additional required files
http://anton.wildit.net.au/rebol/gui/button.r
http://anton.wildit.net.au/rebol/patch/focus-system-patch.r
The focus-system-patch.r implements a tabbing system which
recurses into and out of subfaces, so you should be able
to tab to any tab-focusable style in your window.
I also have other VID styles which respond to tabbing.
I haven't mucked with tab-order much myself, but the builtin
ctx-text/edit-text checks each face for a refocus function
which might be able to be used to reroute the focus to a
specific face. I'm not sure if that works with my system,
actually, so let me know if you really need it.
Let me know if something doesn't work at your end.
Regards,
Anton.
DougEdmunds wrote: