Customizing the metamodel > Customizing the repository metamodel: SAPROPS.CFG and USRPROPS.TXT > Composition and syntax > Dialog controls
  
Dialog controls
The sections below describes dialog controls that can be created through appropriate commands in USRPROPS.TXT.
LIST command of less than five values
Group box with one radio button for each value.
This graphic is described in the surrounding text.
For more information, see LIST.
To force a list of less than five values to be a dropdown list, use LISTONLYCOMBO.
LIST command of five or more values
Dropdown list box.
This graphic is described in the surrounding text.
BOOLEAN
Check box. A “true” value is represented by a check mark; a “false” value is an empty box.
For example, the property below, Virtual, is described as a Boolean:
PROPERTY "Virtual" { EDIT BOOLEAN LENGTH 1 DEFAULT "F" }
This graphic is described in the surrounding text.
For more information, see BOOLEAN.
LISTOF “[definition or diagram type]”
Group including a dropdown list box with New, Add, Remove, D(own), and U(p) buttons on the side, and three buttons: Definition, Check, and Choices on the bottom.
This graphic is described in the surrounding text.
For more information, see LISTOF.
ONEOF “[definition]”
Group including a text box, and 3 buttons: Definition, Check, and Choices.
This graphic is described in the surrounding text.
For more information, see ONEOF.
ASGRID
This command is used with either the LISTOF or ONEOF commands to provide a grid of values. For example:
PROPERTY "Use Case Steps" { EDIT COMPLETE LISTOF "Use Case Step" KEYED BY { "Package", "Use Case Name":Name, Name} ASGRID LENGTH 1200 }
This graphic is described in the surrounding text.
For more information, see ASGRID.
EXPRESSIONOF “[definition or diagram type]”
Not possible.
LISTOF DATA
DATA is a special word: it provides a list of data elements and data structures (each data structure is a group of data elements) in the encyclopedia.
A LISTOF DATA control is a group including a dropdown list box with New, Add, Remove, D(own), and U(p) buttons on the side, and Elem, Struct, Check, and Choices buttons on the bottom.
This graphic is described in the surrounding text.
For more information, see LISTOF.
ONEOF DATA
DATA is a special word: it provides a list of data elements and data structures in the encyclopedia.
A ONEOF DATA clause provides a group control that has a text box in which you specify the data element or data structure, and four buttons: Elem, Struct, Check, and Choices.
This graphic is described in the surrounding text.
For more information, see ONEOF.
EXPRESSIONOF DATA
DATA is a special word: it provides a list of data elements and data structures in the encyclopedia.
EXPRESSIONOF DATA provides a text area in which you type in the data elements or data structures, and four buttons: Elem, Struct, Check, and Choices.
This graphic is described in the surrounding text.
For more information, see EXPRESSIONOF.
See also
Composition and syntax