Customizing the metamodel > Keywords for USRPROPS > LISTONLY
  
LISTONLY
The LISTONLY keyword enables the user to make one selection from the choices provided by the predefined list, and prohibits the user from typing in a new selection. They must choose from the predefined choices.
If the List is four values or less, the ListOnly List box is a list of radio buttons.
If the List is five values or more, the ListOnly List box is a dropdown list.
Example
List "whatever"
{ Value "red"
Value "blue"
Value "indigo"
Value "violet"
Value "green"
/* If a fifth value is added to list, list becomes dropdown */
}
Definition "Use Case"
{ PROPERTY "New Property"
{ EDIT Text LENGTH 12 ListOnly List "whatever" }
}
This graphic is described in the surrounding text.
See also
LIST
LISTONLYCOMBO
Keywords for USRPROPS