XForms: Input object change detection

From: Clive A Stubbings (xforms@vjet.demon.co.uk)
Date: Mon Jul 10 2000 - 19:44:35 EDT

  • Next message: Steve Lamont: "Re: XForms: Input object change detection"

    # To subscribers of the xforms list from Clive A Stubbings <xforms@vjet.demon.co.uk> :

    TC/Steve,

    I know I asked about this ages ago, but is there any chance you could
    add the function

            int fl_input_changed(FL_OBJECT *obj)
            {
                    if (obj && (obj->objclass == FL_INPUT))
                            return(obj->spec->changed);
                    else
                            return 0;
            }

    to the standard library..

    There seems to be no other sensible way to test whether an input object has as
    yet un-read changes.. And the SPEC structure is totally private to the
    input code, so the code has to go in the input code module..

    It would be very useful (probably to others too) and really save me a lot
    of bother..

    Please....

    Cheers
    Clive

    PS: the value "changed" was originally based on deduction, but subsequently
    confirmed by TC..

    _________________________________________________
    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 : Mon Jul 10 2000 - 19:49:15 EDT