Re: XForms: programmable menus

T.C. Zhao (zhao@bloch.phys.uwm.edu)
Fri, 19 Dec 1997 23:44:43 -0600

To subscribers of the xforms list from "T.C. Zhao" <zhao@bloch.phys.uwm.edu> :

On Dec 13, 11:37pm, T.C. Zhao wrote:
> Subject: Re: XForms: programmable menus
> To subscribers of the xforms list from "T.C. Zhao" <zhao@bloch.phys.uwm.edu>
:
>
> On Nov 18, 3:15pm, Ivan Powis wrote:
> > Subject: XForms: programmable menus
> > To subscribers of the xforms list from Ivan Powis
> <pczip@chemistry.nottingham.ac.uk> :
> >
> > After using fdesign to create an initialised push_menu, (ie with a
> > FL_PUP_ENTRY array holding strings, modes etc in the _fd.c file) I
> > have noticed that neither fl_replace_menu_item() nor
> > fl_set_menu_item_mode() used within the program has an effect on the
> > menu. However, the same code works as expected when initialisation is
> > via fl_set_menu().
> >
> > Is this a feature or a bug?
>
> Definitely a bug. I think this is serious enough to warrant
> a prompt fix and update.

Sorry for following up on my own reply:
In the meantime, the workaround is to use the
return value of fl_set_menu_entries() as a popup id,
and use the popup API to modify the mode.

_________________________________________________
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/