WinStudio

Lock the Size or Position of a Component

The features normally used to change the position and size of a component can be disabled by means of lock settings.

The locks are designed to facilitate development of international, multilanguage applications. Once a component, such as a static, has been sized to accommodate a translated string, you can lock the component to discourage others from imposing standard dimensions on it.

To lock the size or position of a component:

  1. Open a form and enter Design Mode.
  2. Click the component you wish to lock.
  3. On the Component property sheet, set Lock Position or Lock Size, or both, to True.

Note that the lock settings should be set to False if the corresponding Glue setting is set to True.


Related Topics

Align Components with Each Other

Anchor Components During Resizing

Move or Resize with Snap-to-Grid

Size Components Uniformly

Size a Component

Space Components Evenly