XForms: how to handle DBLCLICK and not CLICK in a {pre,post}handler ?

Paul Barton-Davis (Helmut.Bohr@t-online.de)
17 Sep 1998 17:04:47 +0200

# To subscribers of the xforms list from Helmut.Bohr@t-online.de (Paul Barton-Davis) :

Sender: owner-xforms@bob.usuf2.usuhs.mil
Precedence: bulk
Reply-To: xforms@bob.usuf2.usuhs.mil

# To subscribers of the xforms list from Paul Barton-Davis <pbd@Op.Net> :

If I register a prehandler for an object so that I can handle DBLCLICK
events in a sneaky-ish kind of way, I need to return 0 in the event of
a CLICK event. However, it seems from my experimentation that any
DBLCLICK event is preceeded by a CLICK event, and thus if the object's
regular handler is not DBLCLICK aware (as for, example, the button
handler is not), the user ends up signalling both kinds of events,
with pretty undesirable results.

Since just about every other part of XForms has been a joy to use, I'm
sure there is some way around this. Any hints ?

--p
_________________________________________________
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/

-- 
Helmut Bohr                                        Helmut.Bohr@T-Online.de
						   hbohr@dvo.de        
_________________________________________________
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/