Re: Adding event type to callback func.

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 27 Nov 96 12:09:28 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Will anybody mail me how can I add an event type to an object (not
> window)? That is, how can I reach that the callback function of an
> object (e.g. a button) is called when the mouse button is pressed
> and not when it's released?

The easiest way is to install a preemptive handler. See Chapter 26 of
the manual for details.

You could also create your own Button object type. See Chapter 25 in
the manual for discussion on creating new button objects.

spl
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html