Re: bug in fl_set_menu_item_mode

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Wed, 9 Apr 1997 23:15:45 -0500

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

From: geochris@zedat.fu-berlin.de (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
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/xforms-archive/