Re: XForms: Thanks, Question?

From: Steve Lamont (
Date: Sun Feb 27 2000 - 17:09:12 EST

  • Next message: Thomas Vosegaard: "Re: XForms: Formbrowser"

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

    > I need a mechanism that indicates to me which
    > object the cursor is placed over. I tried the
    > fl_get _focus, but after testing, realized that this
    > call if for use with input objects only.

    You can use the `belowmouse' member of the `FL_OBJECT' structure.

    For instance:

            FL_OBJECT *fl_get_object_under_mouse( FL_FORM *form )


                FL_OBJECT *obj;

                for ( obj = fd_try->try->first;
                      obj = obj->next )
                    if ( obj->belowmouse )

                return obj;


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

    This archive was generated by hypermail 2b29 : Sun Feb 27 2000 - 17:14:57 EST