Re: XForms: Re: still problems with Radio-Buttons

From: Steve Lamont (spl@ncmir.ucsd.edu)
Date: Wed Dec 20 2000 - 09:36:30 EST

  • Next message: Bill Unruh: "XForms: XYPlot reports back wrong cursor position."

    # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :

    > > The `pushed' field is really only for the internal use of the Object's
    > > handler and should not be relied upon for external use.
    > >
    > > If you want to know the state of the mouse button, you should probably
    > > use a prehandler ...
    > >
    > Thanks Steve, thats what I did. Maybe one should update the manuel to
    > refelect that....

    Probably a good idea. The manual does say that the `pushed' field is
    manipulated by the main routine but a specific "hands off" warning
    might be appropriate. It might also be a good idea to add some
    comments in the `forms.h' file, as well, just to keep people from
    wasting their time chasing up a blind alley.

    Personally, while it is far from my place to criticize any of the
    design decisions made in XForms (TC has done an admirable job -- I
    stand in awe of a truly great hacker of the first order), I would
    probably have made most, if not all, of the XForms data structures
    opaque and used function calls for any necessary application access of
    structure members. It's far too late to do that now, of course, since
    it would break a huge amount of code.

                                                            spl
    _________________________________________________
    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 : Wed Dec 20 2000 - 09:40:33 EST