LINKING CONTROL ANCHOR POINTS TO A FRAME

  The following example shows how the anchor points of a TEXTBOX are linked to the anchor points of the FRAME that holds it so that when the FRAME is resized, the TEXTBOX streches in width but does not grow taller (relative to LEFT, RIGHT and TOP edges of FRAME and ignores changes in height of FRAME).
 

 

Anchor LEFT edge of TEXTBOX to LEFT edge of FRAME such that if LEFT edge of FRAME moves relative to rest of FRAME, LEFT edge of TEXTBOX will follow moving LEFT edge of FRAME.

Anchor TOP edge of TEXTBOX to TOP edge of FRAME such that if TOP edge of FRAME moves relative to rest of FRAME, TOP edge of TEXTBOX will follow moving TOP edge of FRAME.

Anchor RIGHT edge of TEXTBOX to RIGHT edge of FRAME such that if RIGHT edge of FRAME moves relative to rest of FRAME, RIGHT edge of TEXTBOX will follow moving RIGHT edge of FRAME.

Anchor BOTTOM edge of TEXTBOX to TOP edge of FRAME such that if TOP edge of FRAME moves relative to rest of FRAME, BOTTOM edge of TEXTBOX will follow moving TOP edge of FRAME.