XForms: multiple radio item groups in menu

From: Michal Szymanski (msz@astrouw.edu.pl)
Date: Wed Oct 16 2002 - 07:10:38 EDT

  • Next message: john@cs.york.ac.uk: "Re: XForms: Problems compiling RC5.2"

    # To subscribers of the xforms list from Michal Szymanski <msz@astrouw.edu.pl> :

    Hi,

    Is it possible to make a simple (without going into manually created
    popups) menu consisting of radio items grouped in more than one group?

    I tried following menu string:

    char options_str[]="Flip X%b|Range X%R1|MinMax X%r1%l|"
                       "Flip Y%b|Range Y%R2|MinMax Y%r2";

    but the result is not quite good. When the menu is first selected, it
    looks OK, namely the items "Range X" and "Range Y" are selected. But
    then, usually after selecting an item in one group and then making a
    selection in the other, I get BOTH items of a group selected.

    Am I doing something wrong or is it a bug in the old version of XForms
    (I'm using 0.88 still after having some problems with 0.89)?

    I've browsed the DEMOS but I've found there only "popup" examples of
    multiple radio groups, no "menu" example appears to use "%rg"
    specs with different "g" in the same menu.

    regards, Michal.

    -- 
      Michal Szymanski (msz@astrouw.edu.pl)
      Warsaw University Observatory, Warszawa, POLAND
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil   or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    



    This archive was generated by hypermail 2b29 : Wed Oct 16 2002 - 07:13:08 EDT