You define attachments between a control and the edge
of the frame, or between the edge or center of two controls.
An attachment to the
edge of a control causes that edge to move when the other end of the
attachment (the anchor) is moved. An attachment to the center of a
control causes the entire control to move when the anchor for that
attachment is moved. Attachments are represented as arrows in the
graphical user interface.
In the following display
the top Push Button control is attached from its right edge to the
right edge of the frame. The lower Push Button control is attached
from its center to the right edge of the frame.
TestFrame with Edge and Center Attachments
As you can see in the
following display, when the frame is enlarged horizontally at run
time, the top Push Button (Button1) expands to the right (the edge
attachment), and the bottom Push Button (Button2) moves with the right
edge of the frame (the center attachment).
TestFrame at Run Time Before and After Expansion