<doc>
  <legacy_id>2211</legacy_id>
  <name>disabled</name>
  <type>property</type>
  <syntax>
    <example>set the disabled of <i>object</i> to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
    <category>User Interaction</category>
  </classification>
  <references>
    <command tag="enable menu">enable menu Command</command>
    <command tag="disable">disable Command</command>
  </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>Specifies that an <glossary tag="object">object</glossary> is dimmed and does not respond to user action.</summary>
  <examples>
    <example>set the disabled of button "Destroy Everything" to true</example>
    <example>set the disabled of menu "View" to true</example>
  </examples>
  <description>
    <p>Use the <b>disabled</b> <glossary tag="property">property</glossary> to find out whether a <keyword tag="control">control</keyword> can respond to mouse clicks or keyboard presses.</p><p/><p><b>Value:</b></p><p>The <b>disabled</b> of a <keyword tag="control">control</keyword> is true or false.</p><p/><p>By default, the <b>disabled</b> <glossary tag="property">property</glossary> of newly created <glossary tag="control">controls</glossary> is false.</p><p/><p><b>Comments:</b></p><p>Disabled buttons are drawn with gray borders and text to indicate that they cannot be clicked. Controls whose <b>disabled</b> <glossary tag="property">property</glossary> is true do not <glossary tag="trigger">trigger</glossary> <glossary tag="message">messages</glossary> such as <message tag="mouseUp">mouseUp</message> or <message tag="mouseEnter">mouseEnter</message>, but they can respond to <glossary tag="message">messages</glossary> sent with the <command tag="send">send</command> <glossary tag="command">command</glossary>. If a disabled <keyword tag="control">control</keyword> is on top of an enabled <keyword tag="control">control</keyword>, the disabled <keyword tag="control">control</keyword> is transparent to clicks, and clicking sends the appropriate <glossary tag="message">messages</glossary> to the enabled <keyword tag="control">control</keyword> underneath.</p><p/><p>A disabled control cannot receive the focus.</p><p/><p>Setting a group's <b>disabled</b> <glossary tag="property">property</glossary> sets the <b>disabled</b> of each <keyword tag="control">control</keyword> in the <command tag="group">group</command>.</p><p/><p>You can set the <b>disabled</b> <glossary tag="property">property</glossary> of a <keyword tag="menu">menu</keyword> by specifying the <glossary tag="menu">menu's</glossary> name or number. <glossary tag="menu item">Menu items</glossary> in disabled <function tag="menus">menus</function> are drawn in gray text and cannot be chosen.</p><p/><p>The <b>disabled</b> <glossary tag="property">property</glossary> of an <glossary tag="object">object</glossary> is the logical inverse of that <glossary tag="object">object's</glossary> <property tag="enabled">enabled</property> <glossary tag="property">property</glossary>. When the <property tag="enabled">enabled</property> is true, the<b> disabled</b> is false, and vice versa.</p>
  </description>
</doc>