Locking 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:
- With the form open and in Design Mode, select the component you want to lock.
- On the “Component” property sheet, set “Lock Position” or “Lock Size”, or both, to “True”.
注意: The lock
settings should be set to “False”
if the corresponding “Glue” setting is set
to “True”.
相关主题