Re: XForms: FL_DBLCLICK never detected

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Fri, 27 Jun 1997 00:38:19 -0500

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

from EAD-Frank.Stefani@t-online.de (Frank Stefani) :

>A double click gives the same output, always FL_PUSH, never
>FL_DBLCLICK. So I thought it has to do with the dblclick_timeout
>and I inserted some

> fl_set_object_dblclick(fd_debitor_frm->d_grp, val);
^^^
This is basically correct, but unfortunately it won't
work for choice/menu object as the first push
triggers the popup and then popup takes over the event
management for the duration of the popup.

I don't see an easy way around this except for perhaps
using a FL_MENU_BUTTON and do the popup stuff via
fl_dopup when it is appropriate to do so. Although
I don't quite understand the reason behind double
clicking a choice/menu, I will try to think of something
so it is possible.

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