> > 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. :-(
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/