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: 11-Jul-2001 15:04

RE: [REBOL] listen to events only for a specific window? AFAIK like this. but there is a bug (at linux?): if dialog contains text (title) and base-window not, text stays editable?! (second example). [rebol [] dialog: [ title "type in old window.." button "ok" [ hide-popup ] ] cf: :center-face view cf layout [ title "test the buttons" button "inform" [unfocus inform layout dialog ] button "show-popup" [ show-popup cf layout dialog do-events ;don't forget! ] area "type here when dialog open.." ] ] [rebol [] context [ dialog: [ title "type in old window.." button "ok" [ hide-popup ] ] cf: :center-face view/new/offset cf layout [ title "test the buttons" button "inform" [unfocus inform layout dialog ] button "show-popup" [ show-popup cf layout dialog do-events ;don't forget! ] area "type here when dialog open.." ] 50x20 ] context [ dialog: [ title "type in old window.." button "ok" [ hide-popup ] ] cf: :center-face view/new/offset cf layout [ ;;;text "test the buttons" button "inform" [unfocus inform layout dialog ] button "show-popup" [ show-popup cf layout dialog do-events ;don't forget! ] area "type here when dialog open.." ]400x20 ] do-events ] [arolls--bigpond--net--au] wrote: