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

[REBOL] Re: VID focus questions

From: dlhawley:attbi at: 6-Feb-2002 15:12

Brett, I still can't get focus to work on check except in the case of a do [ focus my-check ] and then only on the first check. I liked your space key to turn check on/off and tried to generalize as follows: stylize/master [ space-check: check with [ feel: make feel [engage: func [face action event] [ either all [equal? event/type 'key equal? event/key #" "] [ system/view/vid/vid-feel/check/engage face 'down event] [ system/view/vid/vid-feel/check/engage face action event] ] ] ] ] view layout [ my-check1: space-check my-check2: space-check ] The first space-check works as expected, but when I move the mouse over the second, click it on-off a few times, the first still gets toggled when I click the space key. Any ideas on what I'm doing wrong? Brett Handley wrote: