from spl
>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?)
I lost track of the beginging of this thread. Anyway, keyboard
event is not sent to the object unless the object
requested it. The main loop uses obj->input and obj->wantkey
to determine if FL_KEYBOARD event should be generated for
a particular object. To make a browser keyboard sensitive, do
the following
obj = fl_add_browser(...);
obj->input = 1;
obj->wantkey = FL_KEY_ALL;
(using a hidden input is certainly a workable solution for
this particular problem).
_________________________________________________
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/