LINKING CONTROL ANCHOR POINTS TO A FRAME

The follow example shows how a TEXTBOX control and two BUTTON controls are anchored to a frame so that they follow the frame boundry when the frame is resized by the user (in this case the bottom right hand corner is being dragged using the mouse). NOTE how the BUTTON controls follow the corner closest to them, and the TEXTBOX control follows the top and width of the frame.

 

Control Anchor Points And Frame Relationship