[XForms] Odd menu field behavior

Matthew Yaconis myaconis at nycap.rr.com
Fri Aug 1 10:22:04 EDT 2003


I have a menu object that I generate an FL_PUP_ENTRY structure for from data retrieved from a mysql database.  I don't do anything particularly special with this menu object but for some reason the fl_get_menu function returns a "0" (zero) randomly when selections are made off of the list.  Does anyone have any idea why fl_get_menu might return a 0 when called within the object's callback routine?

The callback routine goes like this:

... callback_routine (...)
{
    choice = fl_get_menu( ob );

    ...

    generic_routine_for_handling(ob, ...);

}

The generic_routine_for_handling also calls fl_get_menu.  

Thanks for the help on the last question as well!  


More information about the Xforms mailing list