<?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 Blank window is getting poped up when jmp application is used. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714107#M89753</link>
    <description>&lt;P&gt;I have created a blank application and written jmp script for displaying new window in the pace allocated for module1. But when running the application another window is getting popped up. How to address that window in order to make it invisible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the example code of new window.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

If(
	ex = New Window( "Modal Dialog example",
		&amp;lt;&amp;lt;Type( "Modal Dialog" ),
		&amp;lt;&amp;lt;Return Result,
		&amp;lt;&amp;lt;On Validate(
			If(
				num = variable &amp;lt;&amp;lt; Get;
				num &amp;gt;= 1 &amp;amp; num &amp;lt;= 100;
			,
				variable &amp;lt;&amp;lt;
				Background Color( "Background" );
				1;
			,
				variable &amp;lt;&amp;lt;
				Background Color( "Light Yellow" );
				0;
			)
		),
		V List Box(
			Text Box(
				"Enter a value between [1,100]:"
			),
			H List Box(
				variable = Number Edit Box( 42 )
			),
			H List Box(
				Button Box( "OK" ),
				Button Box( "Cancel" )
			)
		)
	);
	ex["button"] == 1;
,
	ex["variable"],
	"CANCEL"
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am attaching the two windows that are getting popp&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2024-01-08 at 11.43.00 AM.jpeg" style="width: 749px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60217iF415BB348586F4F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2024-01-08 at 11.43.00 AM.jpeg" alt="WhatsApp Image 2024-01-08 at 11.43.00 AM.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2024-01-08 at 11.43.01 AM.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60218i9410B2E3CA929BB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2024-01-08 at 11.43.01 AM.jpeg" alt="WhatsApp Image 2024-01-08 at 11.43.01 AM.jpeg" /&gt;&lt;/span&gt;ed up.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 16:45:35 GMT</pubDate>
    <dc:creator>Vinusha</dc:creator>
    <dc:date>2024-01-08T16:45:35Z</dc:date>
    <item>
      <title>Blank window is getting poped up when jmp application is used.</title>
      <link>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714107#M89753</link>
      <description>&lt;P&gt;I have created a blank application and written jmp script for displaying new window in the pace allocated for module1. But when running the application another window is getting popped up. How to address that window in order to make it invisible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the example code of new window.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

If(
	ex = New Window( "Modal Dialog example",
		&amp;lt;&amp;lt;Type( "Modal Dialog" ),
		&amp;lt;&amp;lt;Return Result,
		&amp;lt;&amp;lt;On Validate(
			If(
				num = variable &amp;lt;&amp;lt; Get;
				num &amp;gt;= 1 &amp;amp; num &amp;lt;= 100;
			,
				variable &amp;lt;&amp;lt;
				Background Color( "Background" );
				1;
			,
				variable &amp;lt;&amp;lt;
				Background Color( "Light Yellow" );
				0;
			)
		),
		V List Box(
			Text Box(
				"Enter a value between [1,100]:"
			),
			H List Box(
				variable = Number Edit Box( 42 )
			),
			H List Box(
				Button Box( "OK" ),
				Button Box( "Cancel" )
			)
		)
	);
	ex["button"] == 1;
,
	ex["variable"],
	"CANCEL"
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am attaching the two windows that are getting popp&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2024-01-08 at 11.43.00 AM.jpeg" style="width: 749px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60217iF415BB348586F4F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2024-01-08 at 11.43.00 AM.jpeg" alt="WhatsApp Image 2024-01-08 at 11.43.00 AM.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2024-01-08 at 11.43.01 AM.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60218i9410B2E3CA929BB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2024-01-08 at 11.43.01 AM.jpeg" alt="WhatsApp Image 2024-01-08 at 11.43.01 AM.jpeg" /&gt;&lt;/span&gt;ed up.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 16:45:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714107#M89753</guid>
      <dc:creator>Vinusha</dc:creator>
      <dc:date>2024-01-08T16:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Blank window is getting poped up when jmp application is used.</title>
      <link>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714486#M89782</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/49827"&gt;@Vinusha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can close a report window with the following script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Window( "My Report" ) &amp;lt;&amp;lt; close window;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can set the name of a report in the Properties pane on the right.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2024-01-10 144822.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60240i6AD155EE58BD4399/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2024-01-10 144822.png" alt="2024-01-10 144822.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Hope it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 05:54:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714486#M89782</guid>
      <dc:creator>yuichi_katsumur</dc:creator>
      <dc:date>2024-01-10T05:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Blank window is getting poped up when jmp application is used.</title>
      <link>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714489#M89783</link>
      <description>&lt;P&gt;Yeah, That's working. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 06:59:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Blank-window-is-getting-poped-up-when-jmp-application-is-used/m-p/714489#M89783</guid>
      <dc:creator>Vinusha</dc:creator>
      <dc:date>2024-01-10T06:59:09Z</dc:date>
    </item>
  </channel>
</rss>

