XForms: menus

controltech (joel@bamboo.verinet.com)
Mon, 20 Apr 1998 13:24:30 -0600 (MDT)

# To subscribers of the xforms list from controltech <joel@bamboo.verinet.com> :

I'm trying to set up a pulldown menu with sub-menus. If I use,

static FL_PUP_ENTRY my_menu[] =
{
{"/ITEM 1",0,"",FL_PUP_NONE},
{"item 1a",0,"",FL_PUP_NONE},
{0},
{"ITEM 2",0,"",FL_PUP_NONE},
{0}
}

and pass it to fl_set_menu_entries, all works fine. If I try to set up
ITEM 2 with a sub menu using

static FL_PUP_ENTRY my_menu[]=
{
{"/ITEM 1",0,"",FL_PUP_NONE},
{"item 1a",0,"",FL_PUP_NONE},
{0},
{"/ITEM 2",0,"",FL_PUP_NONE},
{"item 2a",0,"",FL_PUP_NONE},
{0}
}

everything compiles and links OK, but the system core dumps when the program
is executed. Anyone know why this doesn't work? This is running under
HPUX 10.20.

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