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

[REBOL] Re: listen to events only for a specific window?

From: agem:crosswinds at: 13-Jul-2001 23:44

RE: [REBOL] Re: listen to events only for a specific window? maybe The Detect Feel http://www.rebol.com/how-to/feel.html#sect6.6. could help? or hide the windows temporary: [rebol [] windows: system/view/screen-face/pane cf: :center-face ;to show we doesnt count in background counter: 1 ;here you would put the "anim crashed!" lay-frozen: [ freezer: info mold counter rate 1 feel [engage: func [face act evt] [ face/text: counter show face]] button "flatsch" [ insert clear windows old-windows show system/view/screen-face ]] ;two windows to have something to hide ; one "anims" a counter view/new lay1: cf layout [title "win 1" ticker: info mold counter rate 1 feel [engage: func [face act evt] [ face/text: counter counter: counter + 1 show face]] ] view/new/offset lay2: layout [button "flutsch" [ old-windows: copy windows clear windows show system/view/screen-face view/new cf layout lay-frozen ]] lay1/offset + 100x20 ; and now: do-events ] ;-) Volker [arolls--bigpond--net--au] wrote: