Re: Browser Keystrokes

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Tue, 15 Apr 1997 00:42:18 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

from Dick Middleton <dick@sqf.hp.com> :
>> obj = fl_add_browser(...);
>> obj->input = 1;
>> obj->wantkey = FL_KEY_ALL;

>if you do this keypresses produce FL_MOTION events
>with a key value 0

This is not quite right. If you don't do this,
key will be zero. If you do, key will not be
zero for each keypressed. Due to the stepping
event, you'll also receive an FL_MOTION event
with key==0.
_________________________________________________
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/