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

[REBOL] Re: easiest way to make whole window feel

From: nick:guitarz at: 15-Oct-2009 14:08

Hi Thorsten, try this. There's an invisible box the same size as the window, with a feel/engage function attached. The other styles are just placed on top of it, starting over again at the window origin. Take a look at : REBOL [] print "Click anywhere in the window, then click the text." view center-face layout [ size 400x200 box 400x200 feel [ engage: func [f a e] [ print a print e/offset ] ] origin text "Click me" [print "You just clicked the text."] [print "You just right-clicked the text."] ] Quoting Thorsten Moeller <>: