Re: XForms: XY Plot questions

From: Jan Menzel (jmenzel@mail.desy.de)
Date: Thu Nov 30 2000 - 10:34:19 EST

  • Next message: Steve Lamont: "Re: XForms: problem with menu entrys"

    # To subscribers of the xforms list from Jan Menzel <jmenzel@mail.desy.de> :

    On Thu, 30 Nov 2000 justin.turnage@lmco.com wrote:

    > # To subscribers of the xforms list from justin.turnage@lmco.com :
    >
    > Greetings to all:
    >
    > I am trying to come up with a zoom in feature on my XY Plots that I
    > use for analysis purposes. I know what to do about zooming in on an
    > area but I'm having trouble trying to figure out how I can visually
    > highlight an area in the XY Plot in XFORMS with the mouse. I'm not
    > sure whether this capability is in XFORMS or not but I thought I would
    > ask.
    >
    I would suggest adding a prehandler for doing it. You have to catch the
    FL_DRAW event for drawing additional private objects. If you catch in
    addition the events for pushing and releasing the left mouse button you
    can get the coordinates for the corners of the area to zoom.

            Regards Jan

    ------------------------------------------------
     Dipl. Phys. | mailto: jan.menzel@gmx.de
     Jan Menzel | http://www.lighting-solutions.de
    ------------------------------------------------

    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 10:43:54 EST