[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 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>: