<doc>
  <legacy_id>1521</legacy_id>
  <name>style</name>
  <type>property</type>
  <syntax>
    <example>set the style of <i>object</i> to <i>style</i></example>
  </syntax>
  <library></library>
  <objects>
    <button/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <command tag="pulldown">pulldown Command</command>
    <command tag="modeless">modeless Command</command>
    <keyword tag="popup">popup Keyword</keyword>
    <keyword tag="opaque">opaque Keyword</keyword>
    <keyword tag="standard">standard Keyword</keyword>
    <keyword tag="shadow">shadow Keyword</keyword>
    <property tag="roundEnds">roundEnds Property</property>
    <property tag="windowShape">windowShape Property</property>
    <property tag="shadow">shadow Property</property>
    <property tag="dontResize">dontResize Property</property>
    <property tag="threeD">threeD 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>Specifies the general <glossary tag="appearance">appearance</glossary> and <glossary tag="behavior">behavior</glossary> of an <glossary tag="object">object</glossary>.</summary>
  <examples>
    <example>set the style of card button 3 to rectangle</example>
  </examples>
  <description>
    <p>Use the <b>style</b> <glossary tag="property">property</glossary> to set an object's specific type.</p><p/><p><b>Value:</b></p><p>The <b>style</b> of an <glossary tag="object">object</glossary> is a string.</p><p/><p><b>Comments:</b></p><p>The possible settings of an object's <b>style</b> <glossary tag="property">property</glossary> depend on the kind of <glossary tag="object">object</glossary>.</p><p/><p>The <b>style</b> of a <keyword tag="button">button</keyword> is one of the following:</p><p>        * <b>standard</b>: the standard button for the current <property tag="lookAndFeel">lookAndFeel</property> setting</p><p>        * <b>transparent</b>: no border; name is displayed but background is transparent</p><p>        * <b>opaque</b>: <object tag="group">background</object> is the opaque <property tag="backgroundColor">backgroundColor</property> of the button</p><p>        * <b>rectangle</b>: opaque rectangular or square <keyword tag="button">button</keyword> with a border</p><p>        * <b>roundRect</b>: opaque rectangular or square <keyword tag="button">button</keyword> with rounded corners</p><p>        * <b>shadow</b>: opaque rectangular or square <keyword tag="button">button</keyword> with a drop shadow</p><p>        * <b>menu</b>: a menu whose <glossary tag="appearance">appearance</glossary> is set by the <property tag="menuMode">menuMode</property> property</p><p>        * checkbox: a <glossary tag="checkbox">checkbox</glossary> option button</p><p>        * radioButton: a radio button</p><p/><p>The <b>style</b> of a <keyword tag="button">button</keyword> interacts with certain other <property tag="properties">properties</property>. For example, setting the <keyword tag="opaque">opaque</keyword> of a standard <keyword tag="button">button</keyword> to false sets its <property tag="style">style</property> to "transparent".</p><p/><p>The <b>style</b> of a <keyword tag="field">field</keyword> is one of the following:</p><p>        * <b>transparent</b>: no border; text is displayed but background is transparent</p><p>        * <b>opaque</b>: <object tag="group">background</object> is the opaque <property tag="backgroundColor">backgroundColor</property> of the field</p><p>        * <b>rectangle</b>: opaque <keyword tag="field">field</keyword> with a border</p><p>        * <b>shadow</b>: opaque <keyword tag="field">field</keyword> with a drop shadow</p><p>        * scrolling: opaque field with a vertical scrollbar</p><p/><p>The <b>style</b> of a <keyword tag="graphic">graphic</keyword> determines its shape and is one of the following:</p><p>        * <b>curve</b>: a curved line</p><p>        * <b>line</b>: a straight line</p><p>        * <b>oval</b>: an oval or circle shape</p><p>        * <b>polygon</b>: an irregular polygon shape</p><p>        * <b>rectangle</b>: a rectangle or square shape</p><p>        * <b>regular</b>: a <keyword tag="regular">regular polygon</keyword> shape</p><p>        * <b>roundRect</b>: a rectangle or square shape with rounded corners</p><p/><p>The <b>style</b> of a <keyword tag="scrollbar">scrollbar</keyword> is one of the following:</p><p>        * scrollbar: a standard scrollbar</p><p>        * scale: a "bead on a wire" slider control</p><p>        * progress: a sliding progress bar display</p><p/><p>Vertical scale and progress scrollbars always reflect the current <b>lookAndFeel</b> setting. Horizontal scale and progress <glossary tag="scrollbar">scrollbars</glossary> use the <glossary tag="Motif">Motif</glossary> look and feel, unless the <property tag="lookAndFeel">lookAndFeel</property> is set to "Appearance Manager".</p><p/><p>The <b>style</b> of a <object tag="stack">stack</object> determines its behavior and is one of the following:</p><p>        * topLevel: editable window</p><p>        * modeless: modeless dialog box, cannot be edited, can use only Browse tool</p><p>        * modal: modal dialog box, can use only Browse tool</p><p>        * palette: palette window, cannot be resized or edited, can use only Browse tool</p>
  </description>
</doc>