> 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;
Steve Lamont is right; if you do this keypresses produce FL_MOTION events
with a key value 0 but with mx and my for the current mouse position.
Dick
_________________________________________________
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/