lockUpdates | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | group | ||||||
Summary | When a control within a group is resized or moved it causes all parents to recalculate their bounds appropriately. The lockUpdates property of the group prevents this behavior. | ||||||
Introduced | 6.1 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: lockLocation Message: resizeControl | ||||||
Description | Use the lockUpdates property to temporarily prevent parent controls from recalculating their size when a child object changes position or size. When a control within a group is resized or moved it causes all parents to recalculate their bounds appropriately. This action can now be temporarily suspended by using the lockUpdates property of the group. Typically, you'll want to set the lockUpdates of a group to true before performing moving or resizing child controls, and then turn it back to false afterwards.
| ||||||
Tags | objects |