> The basic problem is that whenever you show a canvas both the
> Init and Activate property handlers are called, and whenever
> you hide a canvas the Cleanup handler is called.
>
> [...]
>
> One work around I've considered is creating a couple of global
> contexts maintained by the program, and modifying the init and
> cleanup handlers to copy contexts back and forth as necessary.
> I haven't tried this yet, and am interested in any comments
> on how others may have addressed this problem.
I've been bitten by this one as well, although probably not with the
consequences that you have. I tend to agree with your criticism.
My solution was to call XUnmapWindow() rather than fl_hide_form().
That way the window simply gets unmapped by the X server and XForms is
none the wiser.
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/xforms-archive/