[REBOL] Rebol/View 'Key Event Problem
From: tmoeller:fastmail:fm at: 7-Oct-2009 16:45
i am just writing a small editor for myself which should have a realtime
wordcount. Simplified i have following situation:
editor: layout [ mytext: area ifo: info btn "Close" [unview]]
I am not too familiar with events in rebol. From the docs i learned that
i have to change the area definition to something like the following to
make the area react on key events:
mytext: area feel [
engage: func [face action event] [
if action = 'key [mylen: length? parse mytext/text none
ifo/text: join "Wordcount: " copy to-string mylen
But just adding the feel to the area doesn't work.
What am i missing??
http://www.fastmail.fm - IMAP accessible web-mail