Customizing the metamodel > Modifying the look of dialogs > Using the LAYOUT command within a GROUP
  
Using the LAYOUT command within a GROUP
You can specify a LAYOUT command in a GROUP. If you do, it overrides the LAYOUT command of the definition or CHAPTER (tab) that the Group is in, only for the properties in the group.
Example
The following USRPROPS.TXT code creates the Groups shown in the following figure.
RENAME DEFINTION "User 4" To "My Group Definition"
DEFINITION "My Group Definition"
{
CHAPTER "4-Col Layout"
LAYOUT { COLS 4 ALIGN OVER TAB }
GROUP "2-Column Group" {
LAYOUT { COLS 2 ALIGN OVER TAB }
PROPERTY "G1"{ EDIT Boolean LENGTH 1 DEFAULT "F"}
PROPERTY "G2"{ EDIT Boolean LENGTH 1 DEFAULT "F"}
PROPERTY "G3"{ EDIT Boolean LENGTH 1 DEFAULT "F"}
PROPERTY "G4"{ EDIT Boolean LENGTH 1 DEFAULT "F"}
}
GROUP ""
{
LAYOUT { COLS 1 ALIGN OVER TAB }
PROPERTY "Group Property 5"{ EDIT Text Length 10}
PROPERTY "Group Property 6"{ EDIT Text Length 10}
}
}
This graphic is described in the surrounding text.
See also
Modifying the look of dialogs