<?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 pro 15 modal window how to close in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337036#M58443</link>
    <description>&lt;P&gt;Hi Jim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that mean that a script with a "Cancel" button will not work when the script is run on JMP in a German locale or installation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 15:47:11 GMT</pubDate>
    <dc:creator>ThomasZatValcon</dc:creator>
    <dc:date>2020-11-24T15:47:11Z</dc:date>
    <item>
      <title>JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/247003#M48492</link>
      <description>&lt;P&gt;Hi, if I run below script in JMP pro 15 with german language the window does not close when I click on cancel. Same script&amp;nbsp;under english language works well. And even in JMP14 (german and english) the window is closed after click on cancel. Any idea how to get this&amp;nbsp;modal window closed&amp;nbsp;in JMP 15 german as well?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ivo&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;nw = New Window( "Test",
	&amp;lt;&amp;lt;Modal,
	Text Box( "Press OK to do something." ),
	H List Box(
		Button Box( "OK" ),
		Button Box( "Cancel" )
	)
);

// If cancel or X was clicked, stop the script
If( nw == {Button( -1 )}, Stop() );

Print( "Do something" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Feb 2020 14:33:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/247003#M48492</guid>
      <dc:creator>ivo</dc:creator>
      <dc:date>2020-02-11T14:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/247008#M48493</link>
      <description>&lt;P&gt;If you change the text for the Cancel button to "&lt;FONT style="background-color: #ffffff;"&gt;Abbrechen&lt;/FONT&gt;" (German for Cancel) it works fine.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 14:58:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/247008#M48493</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-02-11T14:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/247010#M48494</link>
      <description>&lt;P&gt;thanks Jim! this works perfect. very obvious once you know :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Ivo&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 15:09:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/247010#M48494</guid>
      <dc:creator>ivo</dc:creator>
      <dc:date>2020-02-11T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337036#M58443</link>
      <description>&lt;P&gt;Hi Jim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that mean that a script with a "Cancel" button will not work when the script is run on JMP in a German locale or installation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 15:47:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337036#M58443</guid>
      <dc:creator>ThomasZatValcon</dc:creator>
      <dc:date>2020-11-24T15:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337059#M58446</link>
      <description>I assume that one would have to use the German word for Cancel if the installed version of JMP is using the Germain version of JMP</description>
      <pubDate>Tue, 24 Nov 2020 16:05:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337059#M58446</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-24T16:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337062#M58449</link>
      <description>&lt;P&gt;Seems like it. Any robust way to do it, to ensure the script works regardless of installation language?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 16:11:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/337062#M58449</guid>
      <dc:creator>ThomasZatValcon</dc:creator>
      <dc:date>2020-11-24T16:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/381990#M63256</link>
      <description>&lt;P&gt;There is an option to force text processing in a specific language. Here is the entry in the scripting index:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Language&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;obj &amp;lt;&amp;lt; Language( English | German | Spanish | French | Italian | Japense | Chinese (Simplified) | Chinese (Traditional) );&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Specifies the language used for text processing. This affects stemming and the built-in lists of stop words, recodes, and phrases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
obj = dt &amp;lt;&amp;lt; Text Explorer(
	TextColumns( :Reasons Not to Floss )
);
obj &amp;lt;&amp;lt; Language( "German" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&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>Mon, 03 May 2021 19:01:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/381990#M63256</guid>
      <dc:creator>Beef4Dinner</dc:creator>
      <dc:date>2021-05-03T19:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/382017#M63259</link>
      <description>I do not see any way to programmatically set the language preference</description>
      <pubDate>Mon, 03 May 2021 19:52:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/382017#M63259</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-05-03T19:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: JMP pro 15 modal window how to close</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/382102#M63276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the code below should be language-independent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Brady&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);

stopRunning = 0;

nw = New Window( "Test",
	&amp;lt;&amp;lt;Modal,
	Text Box( "Press OK to do something." ),
	hlb  = H List Box(
		Button Box( "OK" ),
		Button Box( "Cancel", stopRunning = 1; current window()&amp;lt;&amp;lt; close window )
	)
);

if (stopRunning, stop());

print("Do Something...");
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 May 2021 01:14:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-pro-15-modal-window-how-to-close/m-p/382102#M63276</guid>
      <dc:creator>brady_brady</dc:creator>
      <dc:date>2021-05-04T01:14:27Z</dc:date>
    </item>
  </channel>
</rss>

