<?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: JMP 15 Modal Number Edit Box Quirks in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387102#M63731</link>
    <description>&lt;P&gt;Here is the preferred method with a Number Edit Box.&amp;nbsp; See the Scripting Index on the Set Function message in the Number Edit function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;savechoice = 1;

pfp = New Window( "Save Models and Columns",
	&amp;lt;&amp;lt;Modal,
	Text Box(
		"Would you like to save the predicted formula columns and fit model? Please review them before you answer."
	),
	Text Box( "Enter 1 for Yes, 0 for no." ),
	H List Box( Num2 = Number Edit Box( 1, 10,
		&amp;lt;&amp;lt;SetFunction(
			Function( {this}, /* put my value into my sibling's display */
				savechoice = this &amp;lt;&amp;lt; getText )
			)
		)
	),
	Text Box( "" )
);

Show( savechoice );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 20 May 2021 00:08:30 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-05-20T00:08:30Z</dc:date>
    <item>
      <title>JMP 15 Modal Number Edit Box Quirks</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387078#M63727</link>
      <description>&lt;P&gt;OK so I have the following number edit box that worked fine in JMP14, but I can't use the &amp;lt;&amp;lt;Get after the box declaration anymore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;savechoice = 1;

pfp = New Window( "Save Models and Columns",
	&amp;lt;&amp;lt;Modal,
	Text Box(
		"Would you like to save the predicted formula columns and fit model? Please review them before you answer."
	),
	Text Box( "Enter 1 for Yes, 0 for no." ),
	H List Box( Num2 = Number Edit Box( 1 ) ),
	Text Box( "" ),
	&amp;lt;&amp;lt;On Close( savechoice = Num2 &amp;lt;&amp;lt; Get )
);

Show( savechoice );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if I type 0 into the box to say "don't save" it won't let me close the box.&amp;nbsp; It's like 0 isn't a valid input for a number edit box.&amp;nbsp; If I type 1,2, or any other number it works fine.&amp;nbsp; What is going on?&amp;nbsp; thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:47:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387078#M63727</guid>
      <dc:creator>jheadley</dc:creator>
      <dc:date>2023-06-09T19:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 15 Modal Number Edit Box Quirks</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387102#M63731</link>
      <description>&lt;P&gt;Here is the preferred method with a Number Edit Box.&amp;nbsp; See the Scripting Index on the Set Function message in the Number Edit function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;savechoice = 1;

pfp = New Window( "Save Models and Columns",
	&amp;lt;&amp;lt;Modal,
	Text Box(
		"Would you like to save the predicted formula columns and fit model? Please review them before you answer."
	),
	Text Box( "Enter 1 for Yes, 0 for no." ),
	H List Box( Num2 = Number Edit Box( 1, 10,
		&amp;lt;&amp;lt;SetFunction(
			Function( {this}, /* put my value into my sibling's display */
				savechoice = this &amp;lt;&amp;lt; getText )
			)
		)
	),
	Text Box( "" )
);

Show( savechoice );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 May 2021 00:08:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387102#M63731</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-05-20T00:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 15 Modal Number Edit Box Quirks</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387109#M63732</link>
      <description>thanks. Still seems like a ton of characters for what used to be simply a Num2&amp;lt;&amp;lt;Get; that I would put after the window box. I have no idea why they changed all of this in JMP15 but it is driving a ton of work for me.</description>
      <pubDate>Thu, 20 May 2021 00:17:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-Modal-Number-Edit-Box-Quirks/m-p/387109#M63732</guid>
      <dc:creator>jheadley</dc:creator>
      <dc:date>2021-05-20T00:17:44Z</dc:date>
    </item>
  </channel>
</rss>

