Re: XForms: backing store.. NotUseful

Steve Lamont (spl@szechuan.ucsd.edu)
Sun, 1 Feb 98 09:35:41 PST

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

> Xforms by default uses backing store if it is available. For my program, I'd
> rather it didn't. How can I turn it off?

There is an undocumented (as far as I can tell) command line option
`-bs' which turns off backing store. So, you can invoke your app with

my_app -bs [... other args ...]

or, to programatically set your preference, use the FL_IOPT structure:

FL_IOPT fl_cntl;

fl_cntl.backingStore = 0;
[...]
fl_set_defaults( FL_PDBS, &fl_cntl );

This seems to be undocumented as well but if you look in `forms.h'
you'll find that the field and enum are defined.

Refer to Appendix A, Section A.2, "Initialization," for command
syntax, etc.

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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/