[REBOL] Re: Event datatype
From: carl:cybercraft at: 29-Aug-2002 20:53
On 29-Aug-02, G. Scott Jones wrote:
> From: "Carl Read"
>> Is there any way to modify the event datatype? For instance, change
>> the event/key value to something else?
> Hi, Carl,
> I was unsure what you were asking. After Gregg answered, I was sure
> that I was unsure.
> If you have not found your answer, can you give
> more detail, like are you looking to modify the event/key for a
> widget like "field"? --Scott Jones
Yes, something like that. I'm intercepting an event before it reaches
a function that normally gets it so I can do some stuff first based
on whatever the event is. I then pass it on to that function, or not
if because of the event it doesn't need to be called. But that's the
only choice I have - either send the event as is, or not send it. In
some cases I'd like to be able to modify the key value in event and
send that on, but it seems there's no way to do this. There's a
convoluted way I can get around this, but it'd be so much simplier to
just do something like...
event-function face event action
It's not a show-stopper though...