XForms: Resources with xforms

Michael Glickman (michg@alphalink.com.au)
Thu, 26 Aug 1999 07:00:37 +1000

# To subscribers of the xforms list from Michael Glickman <michg@alphalink.com.au> :

This seems to be a rather typical situation.

I use a resource file, but allow to specify almost every resource in a
command line. At the end of session I ask a question "Settings changed.
Save now?" and rewrite the resource file if the answer is positive.

Now the problem: I am looking for the simplest way to avoid asking the
question if all command line settings are identical to the initial
resource ones. This frequently happens when you retrieve a command from
history or use a shortcut. This is when the question is really annoying.

fl_initialize accepts the reference to XrmOptionDescRec array and does
all the work internally. When I started playing with that half a year
since, my fist though was not to specify XrmOptionDescRec reference for
fl_initialize, but perform merge in the application. However I could not
find a way to access the data bse handler used by XForms!

Thanks in advance
Michael

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