Re: XForms: FL_DBLCLICK never detected

Frank Stefani (EAD-Frank.Stefani@t-online.de)
Fri, 27 Jun 1997 10:01:29 +0200

To subscribers of the xforms list from EAD-Frank.Stefani@t-online.de (Frank Stefani) :

Dr. T.C. Zhao wrote:
>
> 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.

The reason (or at least my reason): I have input and choice
objects on a form. If, from an input object, I click a choice
object the focus remains on the input object (though it's
disabled). I need to know which choice object was clicked,
because my choice objects contain dynamic generated lines.
Those lines are part of a column of an SQL database and the
database ist a completely separate and standalone application.

Now, when one clicks on that choice object it shall behave as
usual. But when s/he doubleclicks on it an externel database
administration program for this particular table should be
invoked. Thus I need to know which choice list was clicked and
thus I need a doubleclick detection.

Hope, I made my intention understandable...

Frank.

-- 
---------------------------------------------------------------
     _/_/_/_/     _/_/     _/_/_/    EAD-Systeme GmbH
    _/          _/  _/    _/    _/   Nachfeldstr. 4
   _/_/_/     _/    _/   _/     _/   D-82490 Farchant, Germany
  _/        _/_/_/_/_/  _/     _/    Phone: +49 8821 9623-0
 _/_/_/_/ _/        _/ _/_/_/_/      Fax: +49 8821 9623-20
---------------------------------------------------------------
Email: EAD-Frank.Stefani@t-online.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/