XForms: menus show the last selection made

Dick Middleton (dick@sqf.hp.com)
Mon, 10 Aug 1998 11:42:45 +0100

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

> # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> > # To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :
> > > # To subscribers of the xforms list from <dweiss1@gwdg.de> :
> > > I use xforms 0.88 on IRIX 6.4. When I design a form using fdesign and
> > > test it from within fdesign, the menus work as I intended.
> > > However, when I run the form on its own, as part of my application, all
> > > menus suddenly have a new, additional entry: as the first entry in every
> > > menu I have the title of the menu, and after selecting an entry from the
> > > menu, this first entry changes to the name of the selected menu.
> >
> > I complained about this the other day - it's a pain. There was no response
> > so I assume it's a bug/feature. ...

> I believe, as per discussions earlier on this list, there may be a bug
> in the structure form of the menu creation code.

> However, I just tried a simple example and got the desired behavior
> under 0.88.1.

> Here's the .fd file I used:

> - - - whack here - - -

No, this exhibits the undesired behavior. It works fine in fdesign test mode
but if you build a real prog you get a (cute but unwanted) menu title.

I get identical behavior on linux and hp-ux with 88.1 xforms.

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

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