<doc>
  <legacy_id>1578</legacy_id>
  <name>group</name>
  <type>command</type>
  <syntax>
    <example>group [<i>objectList</i>]</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Objects &amp; Messages</category>
  </classification>
  <references>
    <command tag="start editing">start editing Command</command>
    <function tag="selectedObject">selectedObject Function</function>
    <message tag="newGroup">newGroup Message</message>
    <property tag="layer">layer Property</property>
    <property tag="relayerGroupedControls">relayerGroupedControls Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Creates a new <command tag="group">group</command> and adds the <property tag="selected">selected</property> <glossary tag="object">objects</glossary> to it.</summary>
  <examples>
    <example>group</example>
    <example>if the number of lines of the selectedObject &gt; 1 then group</example>
    <example>group field "Help" and image "Help Icon" and graphic "Outline"</example>
  </examples>
  <description>
    <p>Use the <b>group</b> <glossary tag="command">command</glossary> after <glossary tag="select">selecting</glossary> <glossary tag="object">objects</glossary> to make a <command tag="group">group</command> out of them.</p><p/><p><b>Parameters:</b></p><p>The <i>objectList</i> is a list of <href tag="reference/object_reference.rev">object references</href>, separated by the word "and".</p><p/><p><b>Comments:</b></p><p>If you specify an <i>objectList</i>, the specified <glossary tag="object">objects</glossary> are placed in the new <command tag="group">group</command>. Otherwise, the <property tag="selected">selected</property> <glossary tag="object">object</glossary> or <glossary tag="object">objects</glossary> are placed in the <command tag="group">group</command>.</p><p/><p>As with any group on a card, you can use the <b>place</b> <glossary tag="command">command</glossary> to make the newly-created <command tag="group">group</command> appear on other <glossary tag="card">cards</glossary>.</p><p/><p><code/><img src="202651"/> <b>Tip:</b><code/> To refer to the newly-created <command tag="group">group</command>, use the <keyword tag="last">last</keyword> <glossary tag="keyword">keyword</glossary>:</p><p/><p><code>  group button "Yes" and button "No"</code></p><p><code>  set the name of last group to "Do It"</code></p>
  </description>
</doc>