XForms: forwarded message from Ivan Powis

Hugo ter Doest (terdoest@cs.utwente.nl)
Thu, 11 Jun 1998 11:09:30 +0200

# To subscribers of the xforms list from Hugo ter Doest <terdoest@cs.utwente.nl> :

below is the answer Ivan Powis sent me. He experienced the same
problem I had with FL_PUP_GRAY. Because he has some local problems
with his email, he asked me to forward his message to the list so
everyone can take notice.
Thank you Ivan!

------- start of forwarded message -------
[snip]

My experience with 88.1 is that when menus are initialised using
a structure (by fl_set_menu_entries()) it is not possible to
programmatically interact with them (eg setting attributes as you
describe). I reported this problem with an earlier version of the
library, but it appears not to be fixed.

The problem is worse for users of fdesigner who use that tool to
initialise the menu. It appears that the current version does not
remember the status of the 'use structs' toggle on the Spec form.
So if you specify the menu items via fdesigner, with structs disabled,
the next time you edit the form with fdesigner it will output
the code with structs re-enabled .. and your problems return!

My (obvious) solution is to initialise the menu with fl_addto_menu()
in my own code and not use fdesigner to initialise at all.

I hope this helps. I also think its an inportant point - perhaps
you could post it to the xforms list for me so that others can see
it.

Ivan

--
-------------------------------------------------------------------------+
    ___  ___/   _  __ /  Ivan Powis                TEL: +44-115-951-3467 |
        /         /   /  Department of Chemistry   FAX: +44-115-951-3562 |
       /         /  _/   University of Nottingham                        |
      /         ___/     Nottingham NG7 2RD                              |
     /         /         UK                                              |
    /         /                      pczip@chem.nott.ac.uk               | 
_______/  ____/                      http://www.chem.nott.ac.uk/IP.html  |
-------------------------------------------------------------------------+

------- end of forwarded message ------- _________________________________________________ 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/