Anchor a Control

Use the Form Editor (accessed from within a Blueprint in CSM Administrator) to anchor Controls on a Form. Anchoring allows you to make your Controls grow or shrink to use available space. When you select anchoring options, you select which sides of the Form the Control should be anchored to (you can use combinations). Options include:

  • Left: Control keeps the same distance to the Left edge and moves further away from the Right edge when the Form gets bigger.
  • Top: Control keeps the same distance to the Top edge and moves further away from the Bottom edge when the Form gets bigger.
  • Right: Control keeps the same distance to the Right edge and moves further away from the Left edge when the Form gets bigger.
  • Bottom: Control keeps the same distance to the Bottom edge and moves further away from the Top edge when the Form gets bigger.
  • Left AND Right: Distance between both horizontal edges remains the same, and the Control stretches to fill the horizontal space when the Form gets bigger.
  • Top AND Bottom: Distance between both vertical edges remains the same, and the Control stretches to fill the vertical space when the Form gets bigger.
  • All (Left, Right, Top, and Bottom): Distance between all edges remains the same and the Control proportionally stretches to fill both the horizontal and vertical space when the Form gets bigger.

Good to know:

  • Top Left is the default.
  • If the Control is not anchored to any edge, it floats between the two edges.
  • Anchoring options are available on the Form Editor toolbar and context (right-click) menu.
  • See Form Editor Behaviors for tips on working with Controls and the Form Editor.

To anchor a Control:

  1. Open a Form in the Form Editor
  2. Click a Control.
  3. On the Form Editor toolbar, click the drop-down arrow on the Anchoring button Anchoring Button.
  4. Select an anchoring option (you can use combinations; Top Left is the default):
  5. Click the Select button to save your changes. If you do not click Select, your changes are abandoned.
  6. Publish the Blueprint (File>Publish Blueprint) to commit the changes, or save the Blueprint (File>Save Blueprint) to continue making other changes.
© Copyright 2018 Cherwell Software, LLC. All rights reserved.