<?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: User Entry with Number Edit Box not working in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/695034#M88019</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;Thanks for the suggestion! I've added it in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it didn't do much. My firewall is blocking the debugger for some reason, so I had to resort to wait/show commands, and realized I was less familliar with the Clear Symbols() function than I thought. My called script started with a clear variables command, so that accounted for the killing of the rownumber variable, as well as the w &amp;lt;&amp;lt; Close Window command not working, as "w" was being removed as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Methinks I don't understand namespaces enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 02:24:13 GMT</pubDate>
    <dc:creator>ehchandlerjr</dc:creator>
    <dc:date>2023-11-07T02:24:13Z</dc:date>
    <item>
      <title>User Entry with Number Edit Box not working</title>
      <link>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/694972#M88013</link>
      <description>&lt;P&gt;Hello - I've got this confusing issue where I have a nested number edit box, and for some reason its not sending the entered number into the variable I've got it set to. I tried selecting and running only that line, and low-and-behold it sends the info to the variable, but for some reason in context, it refuses to do it. I actually got it to work a while ago, but then I went to bed, got up, didn't change a thing before it (I changed the script it calls as well as added a couple of "write to column" lines farther down), and this happened, so I'm a bit confused. Here's the code up to the &amp;lt;&amp;lt;get line, but if you want the whole code, its attached in a file:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Clear Symbols();

w = New Window( "Choose Row Number for XRD Run input", // opens a window with a title and this content...
	Border Box( top( 20 ), bottom( 20 ), Left( 20 ), Right( 20 ), // window dressing 
		V List Box( // V and H lists nest to organize the display boxes
			H Center Box( Text Box( "Choose Row Number for XRD Run input" ) ), // a second title, centered
			Spacer Box( size( 1, 30 ) ), // a little vertical space
			H Center Box( rowtemp = Number Edit Box( 116 ) ), // data entry
			Spacer Box( size( 1, 10 ) ), // a little vertical space
			H Center Box( // center the button
				Button Box( "Import Smaple Data", // this script runs when the button is pressed...
					rownumber = rowtemp &amp;lt;&amp;lt; Get;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Also, side question, but when I get to the w &amp;lt;&amp;lt; close window statement, it says&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Send Expects Scriptable Object in access or evaluation of 'Send' , w &amp;lt;&amp;lt; /*###*/closeWindow/*###*/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;, which confuses me, because again, this worked earlier, and it also follows the syntax correctly. If anyone knows why that's happening, that would be helpful too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 23:34:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/694972#M88013</guid>
      <dc:creator>ehchandlerjr</dc:creator>
      <dc:date>2023-11-06T23:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: User Entry with Number Edit Box not working</title>
      <link>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/694989#M88014</link>
      <description>&lt;P&gt;I would set the value within the Number Edit Box using a &amp;lt;&amp;lt;set function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Clear Symbols();

w = New Window( "Choose Row Number for XRD Run input", // opens a window with a title and this content...
	Border Box( top( 20 ), bottom( 20 ), Left( 20 ), Right( 20 ), // window dressing 
		V List Box( // V and H lists nest to organize the display boxes
			H Center Box( Text Box( "Choose Row Number for XRD Run input" ) ), // a second title, centered
			Spacer Box( size( 1, 30 ) ), // a little vertical space
			H Center Box(
				rowtemp = Number Edit Box(
					116,
					10,
					&amp;lt;&amp;lt;SetFunction( Function( {thisBox}, rownumber = thisbox &amp;lt;&amp;lt; get ) )
				)
			), // data entry
			Spacer Box( size( 1, 10 ) ), // a little vertical space
			H Center Box( // center the button
				Button Box( "Import Smaple Data", // this script runs when the button is pressed...
					//rownumber = rowtemp &amp;lt;&amp;lt; Get
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Nov 2023 00:28:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/694989#M88014</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-11-07T00:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: User Entry with Number Edit Box not working</title>
      <link>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/695034#M88019</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;Thanks for the suggestion! I've added it in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it didn't do much. My firewall is blocking the debugger for some reason, so I had to resort to wait/show commands, and realized I was less familliar with the Clear Symbols() function than I thought. My called script started with a clear variables command, so that accounted for the killing of the rownumber variable, as well as the w &amp;lt;&amp;lt; Close Window command not working, as "w" was being removed as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Methinks I don't understand namespaces enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 02:24:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/695034#M88019</guid>
      <dc:creator>ehchandlerjr</dc:creator>
      <dc:date>2023-11-07T02:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: User Entry with Number Edit Box not working</title>
      <link>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/695073#M88020</link>
      <description>&lt;P&gt;In very short for namespaces:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Start all your scripts (always) with Names Default To Here(1);
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/local-namespaces.shtml#" target="_blank"&gt;Local Namespaces (jmp.com)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Don't leave Clear Symbols(), Clear Globals(), Delete Symbols() or Delete Globals() to any (production) scripts as they can potentially mess up whole JMP session (use them only for debugging).
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/show-symbols-clear-symbols-and-delete-symbols.shtml" target="_blank"&gt;Show Symbols, Clear Symbols, and Delete Symbols (jmp.com)&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And both of these are good reads:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/global-and-local-variables.shtml#" target="_blank"&gt;Global and Local Variables (jmp.com)&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/rules-for-name-resolution.shtml#" target="_blank"&gt;Rules for Name Resolution (jmp.com)&lt;/A&gt;&amp;nbsp;(remember to check also subtopics)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 05:35:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/User-Entry-with-Number-Edit-Box-not-working/m-p/695073#M88020</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-07T05:35:38Z</dc:date>
    </item>
  </channel>
</rss>

