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.
Note To force a list of less than five values to be a drop-down list, use the LISTONLYCOMBO command.
LIST command of five or more values
Drop-down list box.
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" }
LISTOF "[definition or diagram type]"
Group including a drop down list box with New, Add, Remove, D(own), and U(p) buttons on the side, and 3 buttons: Definition, Check, and Choices on the bottom.
ONEOF "[definition]"
Group including a text box, and 3 buttons: Definition, Check, and Choices.
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 }
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 very special control: it is a group including a drop-down list box with New, Add, Remove, D(own), and U(p) buttons on the side, and these buttons Elem, Struct, Check, and Choices on the bottom.
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 at its core a text box within which you specify the data element or data structure, and four buttons: Elem, Struct, Check, and Choices.
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 within which you type in the data elements or data structures, and four buttons: Elem, Struct, Check, and Choices.