Alignment property

Previous Next

This is where you specify how the selected object is to be aligned within its parent. Possible values are:

Value

Meaning

Left or Top

Positions the selected object at the beginning or top of a layout line.

Centered

Positions the selected object at the center of a layout line.

Right or Bottom

Positions the selected object at the end or bottom of a layout line.

Justified

Resizes the selected object to cover the remaining space in a layout line.

WorkArea

Resizes the selected object to cover the remaining space in a window.

NOTES:

The Alignment property is ignored if Orientation is set to XY.

If a layout line contains an object with Alignment set to WorkArea, alignment settings other than WorkArea for other objects on the same layout line are ignored.

An Alignment value of Centered, Right or Bottom, or Justified causes the next control to be positioned on a new layout line.

The Alignment value WorkArea is cascaded from a child object to its layout parent, unless that parent has its Orientation set to XY.

If a layout line has more than one object with Alignment set to WorkArea, the space is distributed equally over the WorkArea objects.