Re: Adding event type to callback func.

Steve Lamont (
Wed, 27 Nov 96 12:09:28 PST

To subscribers of the xforms list from (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.

To unsubscribe, send the message "unsubscribe" to or see