XForms: xforms bug with underlining option

Dick Middleton (dick@sqf.hp.com)
Wed, 27 May 1998 11:54:07 +0100

# To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> # To subscribers of the xforms list from "Jose E. Alcoreza" <alcorezj@adam.wsmr.army.mil> :

This has been posted several times without any response. I guess nobody has
an answer. I suggest you submit it as a defect to TC (as described in the
manual :-) ).

Dick

-------------------------------------------------------------------------------

Dick Middleton
Phone: +44 131-331 7530
Fax: +44 131-331 7443 ( )
email: dick@sqf.hp.com ( )
( )
( ) . ~ ~ ~ ~~ .
( ) _______
( ) |
. ~ ~ ~ ~~ . |
/O\
-------------------------------------( o )-------------------------------------
- I'd rather be soaring

> I'm running xforms v 0.88 under Irix 6.2. I'm trying to incorporate a bar
> menu option to my application, that would allow the user to select a
> particular key and the menu would popup with the option selected.
> To understand better my problem, is better if I give you part of my code:

> Creating my popup menu

> FL_PUP_ENTRY menu_entries_test[]=
> {
> {"menu1"},
> {"/menu2"},
> {"submenu1"},
> {"submenu2"},
> {0},
> {"/menu3"},
> {"submenu1"},
> {"submenu2"},
> {0},
> {0}
> };

> Calling the popup menu

> int n_view= fl_newpup(0);
> fl_setpup_entries(n_view, menu_entries_test);
> fl_set_menu_popup( some bar menu object, n_view);

> Setting shortcuts for the users
> fl_setpup_shortcut(n_view,1,"1");
> fl_setpup_shortcut(n_view,2,"2"); //menu2
> fl_setpup_shortcut(n_view,3,"1"); // submenu1
> fl_setpup_shortcut(n_view,4,"2"); // submenu2
> fl_setpup_shortcut(n_view,6,"3"); //menu3
> fl_setpup_shortcut(n_view,7,"1"); // submenu1
> fl_setpup_shortcut(n_view,8,"2"); // submenu2

> my problem is the following :
> after underlining the number 2 in menu2; the number 3 in menu3 is not
> underline, but the submenu options of menu3 are underline
> IS THERE A BUG IN XFORMS ?

> regards

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