Objects are adjusted using a virtual grid, calculated according to the position of the controls on the window when loading the program which contains the window.
The virtual grid is only recalculated once the window's ADJUSTMENT property is assigned a value other than "None".
The grid's vertical lines pass through the left side, center and right side of the controls when the HORIZONTAL_ADJUSTMENT property is respectively equal to:
- "Expand" or "Left-align"
- "Center-align"
- "Expand" or "Right-align"
The grid's horizontal lines pass through the top side, center and bottom side of the controls when the VERTICAL_ADJUSTMENT property is respectively equal to:
- "Expand" or "Top-align"
- "Center-align"
- "Expand" or "Bottom-align"
After resizing the window, only the columns that encompass a control whose HORIZONTAL_ADJUSTMENT property is set to "Expand", and only the lines that encompass a control whose VERTICAL_ADJUSTMENT property is set to "Expand", are resized.
The controls retain their position on the grid, which gives them a new position and/or dimension in the window.