Re: Browser Keystrokes

Steve Lamont (
Thu, 10 Apr 97 07:10:10 PDT

To subscribers of the xforms list from (Steve Lamont) :

> > Look at the manual section on Pre-emptive handlers (Chapter 27). You
> > can grab the keyboard events with a Post Object handler and do what
> > you want with them.
> Unfortunately this doesn't work because the browser object doesn't generate
> key events (so they can't be pre-emptied). ...

Right. However, *post* object handlers are called for all events.

Having said that, I did a little experimentation (which I should have
done beforehand -- sorry about that) and it seems that there's
something of a misfeature in the Post Object handling: the handler is
fed a synthetic FL_MOTION event for the keystroke. (TC: Howcome? Why
not an FL_KEYBOARD?)

Sorry for the misinformation. :-(

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: