[XForms] Question #2: Relying on menu subitem IDs after fl_delete_menu_item().

Jason Cipriani jason.cipriani at gmail.com
Thu Jul 3 17:25:44 EDT 2008

To subscribers of the xforms list

On Thu, Jul 3, 2008 at 4:53 PM, Jason Cipriani <jason.cipriani at gmail.com> wrote:
> If I use fl_delete_menu_item() to remove the second item (id = 2),
> then I've observed that the IDs of the other menu items do NOT change,
> leaving the menu like this:

I take this back, I seem to have grossly misinterpreted what I was seeing.

In fact, fl_delete_menu_item() appears to do nothing at all. If I
create a menu with 5 items in fdesign, say it's named "TheMenu", and
then attempt to delete one of the items:

fl_delete_menu_item(TheForm->TheMenu, 2);

It seems that nothing happens at all. No items are deleted. The menu
remains unmodified. Is there some other function I need to call to
"apply" whatever changes fl_delete_menu_item makes?

To unsubscribe, send any message to
xforms-leave at bob.usuhs.mil or see: 
List Archive: http://bob.usuhs.mil/pipermail/xforms and
Development: http://savannah.nongnu.org/files/?group=xforms

More information about the Xforms mailing list