Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

MWAPI - CHOICE

Draft MDC Standard

6.4.9 CHOICE elattribute

Definition

CHOICE specifies, via descendant nodes identified by item subscripts, the text to be displayed for choices. The sequence of choices is determined by the collating sequence of their item, ritem, and citem subscripts, beginning at the edge closest to the origin.

For a table gadget, the value of an entry of the form

^$W[INDOW] ( wname , gkeyword , gname , ckeyword , ritem , citem)

specifies the text that appears for the cell identified by the ritem and citem subscripts for the gadget identified by gname.

    ckeyword::= expr V CHOICE

The ritem subscript identifies a row. If there is no such row, it is created.

The citem subscript identifies a column. If there is no such column, it is created.

For gadget types other than table, the value of an entry of the form

^$W[INDOW] ( wname , gkeyword , gname , ckeyword , item )

specifies the text that appears for the choice identified by item for the gadget identified by gname.

For a menu, the value of an entry of the form

^$W[INDOW] ( wname , mkeyword , mname , ckeyword , item )

specifies the text that appears for the choice identified by item for the menu identified by mname.

No value is present at the level of the CHOICE elattribute itself.

For a menu or radio button set, if the value of a descendant node of the CHOICE elattribute contains a mnemonichar, the character following the mnemonichar is a mnemonic character that may enable the user, via the keyboard, to select the choice. The mnemonichar is not displayed. If two mnemonichars are immediately adjacent within a CHOICE value, no mnemonic character is defined and a single mnemonichar appears in the displayed choice text. The character mnemonichar cannot itself be used as a mnemonic character.

Domain chars
Access Create, Modify, Reference
Default For a table gadget, none.
For other element types, when no value is assigned at the item level but one or more descendant nodes is present, the default at the item level is
item
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 14-Nov-2023, 22:03:39.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)