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

easiest way to make whole window feel

 [1/2] from: tmoeller:fastmail:fm at: 15-Oct-2009 16:05


Hi, what ist the easiest way to make a complete window feel for mouseclicks?? I use Henrik's vid extension kit and want to display another window like a context-menu, whereever the user clicks. Thorsten -- http://www.fastmail.fm - Choose from over 50 domains or use your own

 [2/2] 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 http://musiclessonz.com/rebol.html#section-7.6 : 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 <tmoeller-fastmail.fm>: