﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7921.69"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>8792cb22-7a02-47a0-8ee2-9f4b3b01dd18</id>
      <revision>16</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7921.69" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.7921.69" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Custom Functions" version="1.1.7840.30466" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="Writer Region" version="0.23.7806.17155" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="RadioButtonList Region" version="1.0.7831.2550" guid="7336e61c-492b-4735-9bc9-a01d8f57fef1" />
      <assembly name="Conditionally Formatted Label" version="1.0.7806.5478" guid="a43ac8f9-29d7-4e8a-9ad0-82cf7c4e14f6" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="9" top="0" width="273" height="26" color="#000000">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><strong>Tutorial_CFL_with RadioButtons_v-02.sm</strong></div></span>]]></writer>
    </region>
    <region left="540" top="0" width="223" height="26" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>*CFL = Conditional Formatted Label</div></span>]]></writer>
    </region>
    <region left="9" top="18" width="320" height="26" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>How to recreate &quot;overlord&#39;s&quot; CFL with Radio Buttons</div></span>]]></writer>
    </region>
    <region left="477" top="18" width="288" height="26" color="#000000">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-size: 8pt">Credit to overlord and Jean Giraud for assisting in creating this tutorial</span></div></span>]]></writer>
    </region>
    <region left="0" top="54" width="309" height="85" color="#000000" fontSize="14">
      <math>
        <input>
          <e type="operand">source</e>
          <e type="operand" style="string">one</e>
          <e type="operand" style="string">Apples</e>
          <e type="operand" style="string">two</e>
          <e type="operand" style="string">Oranges</e>
          <e type="operand" style="string">three</e>
          <e type="operand" style="string">Bananas</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="function" args="8">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="315" top="54" width="255" height="98" color="#000000">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To define the variable name &quot;source&quot;</div>
<div>to the left… type source :=</div>
<div>Then click Matrix icon on screen right</div>
<div>Then define the maxtix to be  2x3</div>
<div>Then replace each place holder as shown</div></span>]]></writer>
    </region>
    <region left="567" top="54" width="213" height="98" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>Note: &quot;source&quot; defines the labels</div>
<div>that appear by each Radio Button.</div>
<div>Could alternately use a 1x3 matrix</div>
<div>and include either the 1stcolumn</div>
<div>of &quot;source&quot; or the 2nd column</div></span>]]></writer>
    </region>
    <region left="36" top="153" width="113" height="110" color="#000000" fontSize="14">
      <radiobuttonlist input="source" inputColumn="3" selected="3" output="Default" outputColumn="2" font="Courier New, 10pt" layout="Vertical" split="0" optimization="Numeric" decimalPlaces="15" exponentialThreshold="15" significantFigures="0" fractions="Decimal" trailingZeros="false" overrideDP="true">
        <ul>
          <li>"one"</li>
          <li>"two"</li>
          <li>"three"</li>
        </ul>
        <input>
          <e type="operand">check</e>
        </input>
      </radiobuttonlist>
    </region>
    <region left="126" top="162" width="264" height="152" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To create the Radio Buttons...</div>
<div>Click: Insert &gt; Controls &gt; Radio Buttons</div>
<div>Set Source = source</div>
<div>Set Columns = 1</div>
<div>Output = Items Index</div>
<div>Note: Setting the Source = source</div>
<div>will cause 3 Radio Buttons to appear as</div>
<div>there are 3 rows defined above in &quot;source.&quot;</div></span>]]></writer>
    </region>
    <region left="405" top="162" width="173" height="134" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>Note: Setting &quot;columns=1</div>
<div>will label the Radio Buttons</div>
<div>with the text in column 1</div>
<div>of &quot;source&quot; above.</div>
<div>Setting columns=2 will use</div>
<div>the text from column 2 </div>
<div>in &quot;source above</div></span>]]></writer>
    </region>
    <region left="45" top="315" width="63" height="32" color="#000000" fontSize="14">
      <cflabel width="53" height="24" tag="yy" color="Black" bgcolor="Red" font="Courier New, 10pt" style="Default">
        <input>
          <e type="operand" style="string">xx</e>
          <e type="operand" style="string">white</e>
          <e type="operand" style="string">green</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">check</e>
          <e type="operand">2</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand" style="string">yy</e>
          <e type="operand" style="string">black</e>
          <e type="operand" style="string">red</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">check</e>
          <e type="operand">2</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand" style="string">zz</e>
          <e type="operand" style="string">yellow</e>
          <e type="operand" style="string">purple</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="function" args="5">cases</e>
        </input>
      </cflabel>
    </region>
    <region left="468" top="342" width="268" height="62" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To create the Conditionally Formatted Label</div>
<div>to the left... Follow the step by step</div>
<div>instructions below</div></span>]]></writer>
    </region>
    <region left="36" top="450" width="32" height="30" color="#000000" fontSize="14">
      <cflabel error="0" width="22" height="22" tag="" color="" bgcolor="" font="Courier New, 10pt" style="Default">
        <input>
          <e type="operand">#</e>
        </input>
      </cflabel>
    </region>
    <region left="72" top="459" width="339" height="26" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To get this ... Click: Insert &gt; Contros &gt; Formatted Label </div></span>]]></writer>
    </region>
    <region left="36" top="522" width="32" height="30" color="#000000" fontSize="14">
      <cflabel error="0" width="22" height="22" tag="" color="" bgcolor="" font="Courier New, 10pt" style="Default">
        <input>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="function" args="3">cases</e>
        </input>
      </cflabel>
    </region>
    <region left="189" top="540" width="356" height="44" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To get this… Click on the first place holder above and then</div>
<div>Click: Insert &gt; Functions &gt; Programming &gt; cases </div></span>]]></writer>
    </region>
    <region left="36" top="621" width="32" height="30" color="#000000" fontSize="14">
      <cflabel error="0" width="22" height="22" tag="" color="" bgcolor="" font="Courier New, 10pt" style="Default">
        <input>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="function" args="5">cases</e>
        </input>
      </cflabel>
    </region>
    <region left="189" top="657" width="410" height="26" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To get this… Click: on a place holder &amp; double click the comma key</div></span>]]></writer>
    </region>
    <region left="36" top="738" width="32" height="30" color="#000000" fontSize="14">
      <cflabel error="0" width="22" height="22" tag="" color="" bgcolor="" font="Courier New, 10pt" style="Default">
        <input>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">#</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="function" args="5">cases</e>
        </input>
      </cflabel>
    </region>
    <region left="270" top="765" width="296" height="80" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>To get this… click on first placeholder on the left</div>
<div>Then click &quot;matrix&quot;  in the side panel</div>
<div>and set it to 1x3</div>
<div>Repeat for row 2 and for row 3.</div></span>]]></writer>
    </region>
    <region left="36" top="873" width="63" height="32" color="#000000" fontSize="14">
      <cflabel width="53" height="24" tag="yy" color="Black" bgcolor="Red" font="Courier New, 10pt" style="Default">
        <input>
          <e type="operand" style="string">xx</e>
          <e type="operand" style="string">white</e>
          <e type="operand" style="string">green</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">check</e>
          <e type="operand">2</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand" style="string">yy</e>
          <e type="operand" style="string">black</e>
          <e type="operand" style="string">red</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">check</e>
          <e type="operand">2</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand" style="string">zz</e>
          <e type="operand" style="string">yellow</e>
          <e type="operand" style="string">purple</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="function" args="5">cases</e>
        </input>
      </cflabel>
    </region>
    <region left="477" top="882" width="240" height="62" color="#000000" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div>Then fill in each place holder as shown</div>
<div>&nbsp;</div>
<div>And &quot;ka-boom&quot; you&#39;re donw!</div></span>]]></writer>
    </region>
  </regions>
</worksheet>