Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Question on text formatting

From: andy:flyingcat at: 29-Aug-2002 11:41

Thanks for your help so far! << and if anyone knows of an easy way to force one of the buttons on the scrolling grid to be "selected" my day would be complete :-) >>
>FOCUS is what you use to select a specific face. I'm not sure it will
>what you want here though. Buttons don't respond to many keystroke by >default (you can, of course, add that behavior). I think Brett Handley
did a
>grid style that let you move from face to face with the keyboard. Maybe
>was Cyphre. So many talented people write great stuff that I lose
track. :)
> view layout [a: button [print "A"] b: button [focus a]]
What I am after is a way to programatically make one of the buttons in the grid appear to be selected. I don't have a mouse for this application; everything is done via a keypad. I was wondering if there were any tricks I could be using to get that effect. (like, is there a way I could iterate through the list of buttons associated with a particular face, and somehow change that buttons color ?) Thanks, Andy