Steve Lamont wrote:
>
> # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>
> > I've got a problem with the fl_set_menu_item_mode()
> > function...
>
> It would be helpful if you could post a more complete example of the
> exact code which generates the problem.
>
> spl
> _________________________________________________
Oups...I found the error...
here is a piece of code i wrote:
_menu=fl_newpup(_win);
_subMenu=fl_newpup(_win);
fl_addtopup(_subMenu,"item11%b%x11|item12%b%x12|item13%b%x13");
fl_addtopup(_menu,"item1%m|item2|item3",_subMenu);
In fact, when i wanted to check if a togle was set,(item 12 for example)
i was using fl_getpup_mode(_subMenu, 2 ) to obtain the mode of this
particular Item.
..I should have used fl_getpup_mode(_subMenu, 12 ) where number 12 is
the return value of this item !!!
It seems to work fine....
sorry for my ignorance...(and for my bad english)
_________________________________________________
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/