Form specification files / Form item attributes |
The GRIDCHILDRENINPARENT attribute is used for a container to align its children to the parent container.
GRIDCHILDRENINPARENT
By default, child elements of a container are aligned locally inside the container layout cells. With this attribute, you can force children to be aligned according to the layout cells of the parent container of the container to which you assign this attribute.
This is useful, for example, when you want to align fields across groups defined with screen layout tags inside a GRID.
LAYOUT GRID { <G g1 > Field1 [f1 ] Field2 [f2 ] Field3 [f3 ] < > <G g2 > F4 [f4 ] F5 [f5 ] < > } END END ATTRIBUTES GROUP g1: GRIDCHILDRENINPARENT; GROUP g2: GRIDCHILDRENINPARENT; EDIT f1 = FORMONLY.field1; EDIT f2 = FORMONLY.field2; EDIT f3 = FORMONLY.field3; EDIT f4 = FORMONLY.field4; EDIT f5 = FORMONLY.field5; END