Re: XForms: Removing a Goodie by force

Dr. T.C. Zhao (
Mon, 7 Jul 1997 23:12:04 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <> :

from Tano Fotang <M.Tano@Wirtschaft.FH-Wolfenbuettel.DE> :

>a file selector is displayed and a random filename sent if the user
>doesnt type in a filename within 35 secs ( sig_alrm, setjmp, alarm,...).
>This works fine except that the Goodie wont and cant be made to disappear
>when it gets timed-out, and only a kill from a shell can then shut down then

You can use fl_get_fselector_fdstruct to get the inards
of the file selector, then use fl_trigger_object(fdstruct->cancel)
to remove the file selector. A simple fl_hide_form(fdstruct->fselect)
might also work, but fl_trigger_object is better.

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