Re: bug in fl_set_menu_item_mode

Dr. T.C. Zhao (
Wed, 9 Apr 1997 23:15:45 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <> :

From: (Christian Klesper)
>I think I have detected a bug in xforms8.6
>After I created a menu and set one specific item with
>"FL_PUP_CHECK | FL_PUP_RADIO" the function
>fl_get_menu(FL_OBJECT *obj) returns not the right item number !

I think you're right. Looking at the menu code, the value
setting code was commented out, I don't recall what was the reason
for that. Since this only affects the initial state of the menu,
I would think that it is easy to workaround this bug by
remembering the item that is initially set. I will try
to fix this bug soon.
To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: