A while back, when View was upgraded, the button style became more complicated, using a gradient effect. Anyhow, here's an example of how to change the first button in a face containing three buttons.
view/new center-face lay: layout [ button button button ] ; modify first button lay/pane/1/effects: [ [gradient 0x1 166.120.192 0.0.200] ; normal [gradient 0x-1 66.120.192 44.80.132] ; pressed ] lay/pane/1/effect: first lay/pane/1/effects show lay/pane/1 wait none ; wait for events see also print mold lay/pane/1/feel Anton. > 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 > do > >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 > it > >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 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.