<doc>
  <legacy_id>1195</legacy_id>
  <name>orientation</name>
  <type>property</type>
  <syntax>
    <example>get the orientation of <i>scrollbar</i></example>
  </syntax>
  <library></library>
  <objects>
    <scrollbar/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="height">height Property</property>
    <property tag="rectangle">rectangle Property</property>
    <property tag="width">width Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Reports whether  a <keyword tag="scrollbar">scrollbar</keyword> is vertical or horizontal--that is, whether its <property tag="height">height</property> or <property tag="width">width</property> <glossary tag="property">property</glossary> is greater.</summary>
  <examples>
    <example>if the orientation of scrollbar 2 is vertical then beep</example>
  </examples>
  <description>
    <p>Use the <b>orientation</b> <glossary tag="property">property</glossary> to find out whether a <keyword tag="scrollbar">scrollbar</keyword> is horizontal or vertical.</p><p/><p><b>Value:</b></p><p>The <b>orientation</b> of a scrollbar is "<code>vertical</code>" or "<code>horizontal</code>".</p><p/><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>If the scrollbar's <b>height</b> is greater than or equal to its <property tag="width">width</property>, the <keyword tag="scrollbar">scrollbar</keyword> is vertical. If the <property tag="width">width</property> is greater than the <property tag="height">height</property>, the <keyword tag="scrollbar">scrollbar</keyword> is horizontal.</p><p/><p>To change a scrollbar's <b>orientation</b>, change its <property tag="width">width</property> and <property tag="height">height</property> <property tag="properties">properties</property>.</p>
  </description>
</doc>