Re: XForms: XFORMS Classes

Robert James (james@saic.alaska.net)
Fri, 18 Dec 1998 14:50:39 -0900 (AKST)

# To subscribers of the xforms list from Robert James <james@saic.alaska.net> :

I've written an application that has a number of input objects which require
that certain specific strings be entered in each
object. I attached popup menus to these objects, and you only need to click on
the strings displayed on the popups in order to get the strings entered into the
input objects. Beats having to type it in by hand. The popup appears as soon as
the mouse enters the input object.

Problem: suppose I enter an input object with the mouse, causing the popup to
appear, then instead of selecting an option on the popup menu, I reposition the
whole form, by dragging with the mouse. The popups don't move with the form!!
They simply
remain where they were first created with respect to the screen. I got most of
my ideas for writing the application from your pup.c DEMO which is limited in
its scope.

Is there anything I can do to tell the popup menus to reposition? Another
possibility would be to cause the popups to disappear as soon as I moved the
mouse away from an input object in order to reposition(drag) the form. I don't
know
how to make them disappear. I'm not using fl_hide_pup() and fl_showpup(). I'm
using fl_dopup()?

Bob James

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