<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reset Button in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39729#M23242</link>
    <description>&lt;P&gt;You're right, the scripting index is quite helpful. I was able to use it and other resources to figure out how to reset the check boxes. However, even with the scripting index, I'm stumped as how to reset the text edit boxes. Right now I put in&amp;nbsp;a work around to just close and then regenerate the whole window, but I'd like to find a better way if possible.&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2017 01:16:55 GMT</pubDate>
    <dc:creator>rfeick</dc:creator>
    <dc:date>2017-05-30T01:16:55Z</dc:date>
    <item>
      <title>Reset Button</title>
      <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39726#M23240</link>
      <description>&lt;P&gt;I have a script that creates a window to recieve user input via text edit boxes and checkboxes. I want there to be three buttons in the window, one of which is a reset button that clear all the checkboxes and reset the text edit boxe back to their defaults (either blank, "---", or "mm/dd/yyyy"). I've gotten the checkbox part to work, but can't figure out how to reset the text edit boxes. Is this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 22:42:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39726#M23240</guid>
      <dc:creator>rfeick</dc:creator>
      <dc:date>2017-05-29T22:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Button</title>
      <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39728#M23241</link>
      <description>&lt;P&gt;The Scripting Index is the definative documentation on all of the elements that can be set, modified, etc. for any of the different functions/display objects.&lt;/P&gt;
&lt;P&gt;Here is the JSL from the example for the setting of a check box.&amp;nbsp; The example is taken directlyu from:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help=&amp;gt;Scripting Index==&amp;gt;CheckBoxBox==&amp;gt;Set&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	cb = Check Box( {"One", "Two", "Three"} )
);
cb &amp;lt;&amp;lt; Set( 3, 1 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 May 2017 01:11:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39728#M23241</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-05-30T01:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Button</title>
      <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39729#M23242</link>
      <description>&lt;P&gt;You're right, the scripting index is quite helpful. I was able to use it and other resources to figure out how to reset the check boxes. However, even with the scripting index, I'm stumped as how to reset the text edit boxes. Right now I put in&amp;nbsp;a work around to just close and then regenerate the whole window, but I'd like to find a better way if possible.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 01:16:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39729#M23242</guid>
      <dc:creator>rfeick</dc:creator>
      <dc:date>2017-05-30T01:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Button</title>
      <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39730#M23243</link>
      <description>&lt;P&gt;Here is the example taken from the&amp;nbsp; Text Edit Box() area in the&amp;nbsp;Scripting Index&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index==&amp;gt;Text Edit Box==&amp;gt;Set Text&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
win = New Window( "Example",
	fontobj = text = Text Edit Box( "Example Text" )
);
text &amp;lt;&amp;lt; Set Text( "New Text" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 May 2017 01:21:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39730#M23243</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-05-30T01:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Button</title>
      <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39743#M23250</link>
      <description>&lt;P&gt;If Jim's example isn't working for you, share an example of your JSL. There's probably something else going on that a second set of eyes will see.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Button script to set text edit box" style="width: 415px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6304iCD50967C6870AADB/image-dimensions/415x200?v=v2" width="415" height="200" role="button" title="buttons.PNG" alt="Button script to set text edit box" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Button script to set text edit box&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 11:21:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39743#M23250</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2017-05-30T11:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Button</title>
      <link>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39765#M23268</link>
      <description>&lt;P&gt;Thanks for the help! I think somehow I missed that example when using the scripting guide.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 15:38:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reset-Button/m-p/39765#M23268</guid>
      <dc:creator>rfeick</dc:creator>
      <dc:date>2017-05-30T15:38:01Z</dc:date>
    </item>
  </channel>
</rss>

