Lock Size property
Use the Lock Size property to disable changes to the size of a component.
Locking is designed to facilitate development of international, multi-language applications. Once a component, such as a static box, has been sized to accommodate a translated string, you can lock the component to discourage others from imposing standard dimensions on it.
Setting | Description |
---|---|
True | Disable changes to the height and width of a component. |
False | Default. Enable changes to the height and width of a component. |
Do not lock the size of a component if the Glue Bottom or Glue Right setting is enabled.
You can set the Lock Position property to prevent changes to the position of a component on a form.