<doc>
	<legacy_id></legacy_id>
	<name>lockUpdates</name>
	<type>property</type>

	<syntax>
		<example>set the lockUpdates of <i>group</i> to {true | false}</example>
	</syntax>

	<synonyms>
	</synonyms>

	<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.</summary>

	<examples>
<example>set the lockUpdates of group 1 to true</example>
<example><p>on updateGroupedControls</p><p>   set the lockUpdates of group 1 to true</p><p>   set the left of button 1 of group 1 to 5</p><p>   set the bottom of button 2 of group 1 to 10 </p><p>   set the lockUpdates of group 1 to false</p><p>end updateGroupedControls</p></example>
	</examples>

	<history>
		<introduced version="6.1">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version=""></changed>
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
		<group/>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Objects &amp; Messages</category>
	</classification>

	<references>
		<property tag="lockLocation"> lockLocation Property</property>
		<message tag="resizeControl">resizeControl Message</message>
	</references>

	<description>
	<overview>Use the <b>lockUpdates</b> property to temporarily prevent parent controls from recalculating their size when a child object changes position or size.</overview>

		<parameters>
		</parameters>

	<value>The <b>lockUpdates</b> of a group is true or false.<p></p><p>By default, the <b>lockUpdates</b> property of newly created groups is set to false.</p></value>
	<comments>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 <b>lockUpdates</b> property of the group.<p></p><p>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.</p><p></p><p><note> The <b>lockUpdates</b> property does not nest and the group will not resize itself appropriately based on the child controls until it is set back to false.</note></comments>
	</description>
</doc>