Re: XForms: In fl_handle_it [objects.c 1398] Bad object

Steve Lamont (spl@pitstop.ucsd.edu)
Thu, 9 Jul 98 13:29:12 PDT

# To subscribers of the xforms list from spl@pitstop.ucsd.edu (Steve Lamont) :

> can some explain what this line means:
>
> In fl_handle_it [objects.c 1398] Bad object
>
> this gets printed out to stdout, however this error does not cause my
> program to crash. The code segment:
>
> [... code elided ...]
>
> ..where selected () is the double click callback for this browser. Like I
> said before.. this function does what I wanted it to do.. however that
> error line appears.

This is probably due to the fact that you're destroying the form
before all of the events associated with it (and, specifically, the
browser object) have been processed. Recall that you get events
generated with a double click: the first click, of course, then the
double click followed by the second click. Since you're destroying
the form before the second click can be processed, there's a dangling
event.

Sounds like a bug in XForms to me. TC?

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/