<doc>
  <legacy_id>1995</legacy_id>
  <name>lookAndFeel</name>
  <type>property</type>
  <syntax>
    <example>set the lookAndFeel to {"Appearance Manager"|Macintosh|Motif|"Windows 95"}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
    <category>The System Environment</category>
  </classification>
  <references>
    <command tag="focus">focus Command</command>
    <property tag="emacsKeyBindings">emacsKeyBindings Property</property>
    <property tag="activatePalettes">activatePalettes Property</property>
    <property tag="hiliteBorder">hiliteBorder Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
    <changed version="2.2"></changed>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies which <function tag="platform">platform</function> the <glossary tag="user interface">user-interface</glossary> <glossary tag="control">controls</glossary> resemble.</summary>
  <examples>
    <example>set the lookAndFeel to "Motif</example>
    <example>set the lookAndFeel to the selectedLine of field "Appearance"</example>
  </examples>
  <description>
    <p>Use the <b>lookAndFeel</b> <glossary tag="property">property</glossary> to preview the <glossary tag="appearance">appearance</glossary> of <function tag="stacks">stacks</function> on a <function tag="platform">platform</function> other than the one you're developing on.</p><p/><p><b>Value:</b></p><p>The <b>lookAndFeel</b> is one of the following:</p><p/><p><code>Appearance Manager</code>: standard Windows XP, Mac OS and OS X look and feel</p><p><code>Macintosh</code>: emulated Mac OS Platinum appearance, used regardless of current theme</p><p><code>Motif</code>: standard Motif look and feel for Unix systems</p><p><code>Windows 95</code>: standard Windows look and feel</p><p/><p>By default, the <b>lookAndFeel</b> is set to the <function tag="platform">platform</function> the <object tag="stack">stack</object> is being used on. On Windows XP, <glossary tag="Mac OS">Mac OS</glossary> and <glossary tag="OS X">OS X systems</glossary>, the <b>lookAndFeel</b> is set to "Appearance Manager" by <keyword tag="default">default</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>lookAndFeel</b> <glossary tag="property">property</glossary> determines the <glossary tag="appearance">appearance</glossary> and <glossary tag="behavior">behavior</glossary> of <glossary tag="scrollbar">scrollbars</glossary>, <glossary tag="object">object</glossary> borders, <glossary tag="checkbox">checkboxes</glossary> and <glossary tag="radio button">radio buttons</glossary>, and <glossary tag="button menu">button menus</glossary>. It also changes the <glossary tag="appearance">appearance</glossary> of the <glossary tag="active control">active (focused) control</glossary>.</p><p/><p>However, changing this property does not provide an exact representation of the appearance and behavior of the stack on the target platform. For example, cursors do not change, and neither do the placement of the menu bar or the way window dragging and resizing works. Only the appearance of controls is affected.</p><p/><p>The "Appearance Manager" option can be used only on Windows XP, Mac OS and OS X systems. If you set the <b>lookAndFeel</b> to "Appearance Manager" on a <glossary tag="Unix">Unix</glossary>  <keyword tag="system">system</keyword>, it is reset to "Motif". Similarly, tf you set the <b>lookAndFeel</b> to "Appearance Manager" on a pre-Windows XP <keyword tag="system">system</keyword>, it is reset to "Wondows 95".</p><p/><p>On Mac OS systems, the native Appearance Manager drawing routines are much slower than the emulated Platinum routines. Setting the <b>lookAndFeel</b> to "Macintosh" rather than "Appearance Manager" will speed up drawing of <glossary tag="control">controls</glossary>.</p><p/><p><code/><b>Note:</b><code/> The phrases "Appearance Manager" and "Windows 95" must be enclosed in quotes because they consist of more than one <keyword tag="word">word</keyword>.</p><p/><p><b>Changes:</b></p><p>The "Appearance Manager" option was introduced in version 1.1. In previous versions, LiveCode applications always used the Platinum appearance on Mac OS systems, regardless of which theme was selected on the user's system.</p>
  </description>
</doc>