Layout Page
In the properties for a control, the Layout page specifies how to position the control should the form be resized in the System file. The following table describes the properties on this page, which are the same for all controls.
Property
Description
Horizontal position
The properties under this heading provide for specifying the horizontal orientation. Both Left adjustment and Right adjustment are display-only unless Custom is selected.
Fixed
Indicates whether the control moves or expands when the form is expanded horizontally. When this property is selected, the control does not move or expand when the form is expanded horizontally. Both Left adjustment and Right adjustment are set to 0.
Expand
Indicates whether the control expands right one unit for each unit that the form is expanded horizontally. When this property is selected, Left adjustment is set to 0, and Right adjustment is set to 1.
Shift
Indicates whether the control shifts right one unit for each unit that the form is expanded horizontally. When this property is cleared, both Left adjustment and Right adjustment are set to 1.
Custom
Indicates whether to use custom units to expand and shift the control horizontally when the form is expanded horizontally. When this checkbox is selected, Left adjustment and Right adjustment become available so that you can specify the number of units to expand and shift the control from the left and from the right. The range of the number that you can enter is from 0 to 1.
Vertical position
The properties under this heading provide for specifying the vertical orientation. Both Top adjustment and Bottom adjustment are display-only unless Custom is selected.
Fixed
Indicates whether the control moves or expands when the form is expanded vertically. When this property is selected (default), both Top adjustment and Bottom adjustment are set to 0.
Expand
Indicates whether the control expands down one unit for each unit that the form is expanded vertically. When this checkbox is selected, Top adjustment is set to 0, and Bottom adjustment is set to 1.
Shift
Indicates whether the control shifts down one unit for each unit that the form is expanded vertically. When this checkbox is selected, both Top adjustment and Bottom adjustment are set to 1.
Custom
Indicates whether to use custom units to expand and shift the control from the top and from the bottom when the form is expanded vertically. When this checkbox is selected, Top adjustment and Bottom adjustment become available so that you can specify the number of units to expand and shift the control from the top and from the bottom. The range of the number that you can enter is from 0 to 1.