<doc>
  <legacy_id>2384</legacy_id>
  <name>bufferMode</name>
  <type>property</type>
  <syntax>
    <example>get the bufferMode</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>The System Environment</category>
  </classification>
  <references>
    <property tag="colorWorld">colorWorld 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>Reports the number of colors the screen can display.</summary>
  <examples>
    <example>set the label of button "Color Mode" to the bufferMode</example>
  </examples>
  <description>
    <p>Use the <b>bufferMode</b> <glossary tag="property">property</glossary> to determine the color capacity of the screen. For example, you might display different <glossary tag="image">images</glossary> depending on the number of colors available.</p><p/><p><b>Value:</b></p><p>The <b>bufferMode</b> <glossary tag="property">property</glossary> reports "millions" (for 32-bit or 24-bit color), "thousands" (for 16-bit color), or the number of colors.</p><p/><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>If the system has more than one monitor, the <b>bufferMode</b> <glossary tag="property">property</glossary> reports the number of colors displayed on the main screen.</p><p/><p>The value reported by the <b>bufferMode</b> <glossary tag="property">property</glossary> is updated only when you start up the <glossary tag="application">application</glossary>. If you change the screen settings after starting up the <glossary tag="application">application</glossary>, you must quit and restart to update the <b>bufferMode</b>.</p>
  </description>
</doc>