<?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 JMP 15: get function doesn't work with modal windows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271731#M52895</link>
    <description>&lt;P&gt;If you try this script (obtained from the scripting index in JMP 15)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	&amp;lt;&amp;lt;modal,
	numbox = Number Edit Box( 0 )
);
Print( numbox &amp;lt;&amp;lt; Get );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and edit the number box you get this error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;deleted object reference: numbox &amp;lt;&amp;lt; Get in access or evaluation of 'Glue' , Names Default To Here( 1 ); /*###*/New Window( "Example",
	&amp;lt;&amp;lt;modal,
	numbox = Number Edit Box( 0 )
); /*###*/Print( numbox &amp;lt;&amp;lt; Get ) /*###*/;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This used to work in JMP 13, how do you now get values from editable boxes in JMP 15?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:28:39 GMT</pubDate>
    <dc:creator>Fiona_Baines</dc:creator>
    <dc:date>2023-06-09T23:28:39Z</dc:date>
    <item>
      <title>JMP 15: get function doesn't work with modal windows</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271731#M52895</link>
      <description>&lt;P&gt;If you try this script (obtained from the scripting index in JMP 15)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	&amp;lt;&amp;lt;modal,
	numbox = Number Edit Box( 0 )
);
Print( numbox &amp;lt;&amp;lt; Get );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and edit the number box you get this error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;deleted object reference: numbox &amp;lt;&amp;lt; Get in access or evaluation of 'Glue' , Names Default To Here( 1 ); /*###*/New Window( "Example",
	&amp;lt;&amp;lt;modal,
	numbox = Number Edit Box( 0 )
); /*###*/Print( numbox &amp;lt;&amp;lt; Get ) /*###*/;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This used to work in JMP 13, how do you now get values from editable boxes in JMP 15?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:28:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271731#M52895</guid>
      <dc:creator>Fiona_Baines</dc:creator>
      <dc:date>2023-06-09T23:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 15: get function doesn't work with modal windows</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271735#M52897</link>
      <description>&lt;P&gt;Here is how you need to code your script in JMP 15&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
	&amp;lt;&amp;lt;modal,
	numbox =
	Number Edit Box(
		0,
		10,
		&amp;lt;&amp;lt;SetFunction(
			Function( {this},
				numbox = this &amp;lt;&amp;lt; get
			)
		)
	)
);
Print( numbox );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2020 09:37:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271735#M52897</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-06-10T09:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 15: get function doesn't work with modal windows</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271823#M52903</link>
      <description>&lt;P&gt;Could also use the return results.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);
nw = New Window( "Example",
	&amp;lt;&amp;lt;modal,
	&amp;lt;&amp;lt;Return Result, 
	numbox = Number Edit Box( 0 )
);&lt;BR /&gt;//changed the numbox to 1

show(nw);&amp;nbsp;//&amp;nbsp;{numbox&amp;nbsp;=&amp;nbsp;1,&amp;nbsp;Button(1)}&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 15:32:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271823#M52903</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2020-06-10T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 15: get function doesn't work with modal windows</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271842#M52904</link>
      <description>&lt;P&gt;Alternatively, use &amp;lt;&amp;lt;onClose to grab all your results from the window.&amp;nbsp; You can also use &amp;lt;&amp;lt;onOpen to intialise values and&amp;nbsp; &amp;lt;&amp;lt;onValidate to validate inputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NewWIndow("Example", &amp;lt;&amp;lt;modal,
    &amp;lt;&amp;lt;onClose(
        value = numbox &amp;lt;&amp;lt; get;
    ),
    numbox = NumberEditBox(0)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 16:12:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-15-get-function-doesn-t-work-with-modal-windows/m-p/271842#M52904</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2020-06-10T16:12:33Z</dc:date>
    </item>
  </channel>
</rss>

