Re: Keys handler

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Thu, 28 Nov 1996 00:42:41 -0600

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

>To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>> Can someone explain to me how to take into account for a canvas object
> >the KeyPress event ?

>You also need to tell XForms to set the event mask with
>fl_addto_selected_xevent() (or the synonymous fl_add_selected_xevent()).
This is not needed in V0.81. When a handler is registered via
the canvas handler API, the registration routine will figure
out the mask and solicit the events from the server. You only
need to do use addto_selected_xevent if the default translation
of event to mask is not what you want.
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html