Re: XForms: XEvent question ( I think?)

Steve Lamont (
Wed, 12 Nov 97 10:29:23 PST

To subscribers of the xforms list from (Steve Lamont) :

> Let's say that I have a form with an arbitrary number of xyplots. If I wanted
> to detect a mouse click and determine which xyplot was clicked on, would I use:
> fl_add_event callback()
> and then try to determine which xyplot was clicked on by getting the mouse
> coordinates and use logic to make the determination?
> Or, is there some way to determine which xyplot on the form was clicked on and
> then act?

You might try a pre or post handler, which should hand you the object.

fl_win_to_form() will also hand you the FL_FORM struct.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: