<doc>
	<legacy_id></legacy_id>
	<name>relayer</name>
	<type>command</type>

	<syntax>
		<example>relayer <i>control</i> {before | after} layer <i>index</i></example>
		<example>relayer <i>control</i> {before | after} control <i>target</i></example>
		<example>relayer <i>control</i> {before | after} owner</example>
		<example>relayer <i>control</i> to {before | after} of layer <i>index</i></example>
		<example>relayer <i>control</i> to {before | after} of control <i>target</i></example>
		<example>relayer <i>control</i> to {before | after} of owner</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Aids the manipulation of layers.</summary>

	<examples>
		<example>relayer button "b1" after button "b2" <i>-- bring button b1 to front</i></example>
		<example>relayer button "b1" to back of card "testCard" <i>-- send button b1 to the back of card testCard</i></example>
	</examples>

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

	<objects>
	</objects>

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

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

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<property tag="layer">layer Property</property>
		<function tag="number">number Function</function>
		<keyword tag="control">control Keyword</keyword>
		<command tag="ungroup">ungroup Command</command>
		<command tag="group">group Command</command>
		<function tag="mouseControl">mouseControl Function</function>
		<function tag="intersect">intersect Function</function>
		<property tag="tabGroupBehavior">tabGroupBehavior Property</property>
		<property tag="relayerGroupedControls">relayerGroupedControls Property</property>
	</references>

	<description>
	<overview>Use the <b>relayer</b> command to aid the manipulation of layers.</overview>

		<parameters>
  <parameter>
    <name>before</name>
    <description>The owner of the control becomes the owner of the target and is inserted before the target. The layer of the control becomes the layer of the target and the target and all subsequent controls shift up one.</description>
  </parameter>

  <parameter>
    <name>after</name>
    <description>The owner of the control becomes the owner of the target and is inserted after the target. The layer of the control becomes one greater than the layer of the last child of the target and all subsequent controls sift one up.</description>
  </parameter>

  <parameter>
    <name>front</name>
    <description>The owner of the control becomes the owner of the target and is inserted after the last child of the target (only valid if <i>target</i> is a container).</description>
  </parameter>

  <parameter>
    <name>back</name>
    <description>The owner of the control becomes the owner of the target and is inserted before the first child of the target (only valid if <i>target</i> is a container).</description>
  </parameter>

  <parameter>
    <name>layer</name>
    <description>The target control is the control with layer <i>index</i>.</description>
  </parameter>

  <parameter>
    <name>control</name>
    <description>The target control is the given control.</description>
  </parameter>

  <parameter>
    <name>owner</name>
    <description>The target control is the owner of the control.</description>
  </parameter>

	</parameters>

	<value></value>
	<comments>Use the <b>relayer</b> command move a control relative to a target in a number of ways. The <b>relayer</b> command can only be used within a card. Attempts to relayer controls from one card or another stack would throw an exception.</comments>

	</description>
</doc>