<?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: Embed a JMP platform dialo into a new window() in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365248#M61459</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Julian, with your hints I cracked it!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fmWindow = New Window( "Fit Model Dialog Example",
	H List Box(
		pb = Panel Box( "Launch Window",
			fm = Fit Model(
				Personality( Standard Least Squares ),
				Emphasis( Minimal Report ),
				SendToReport(
					Dispatch( {}, "", PanelBox, {Visibility( "Collapse" )} ),
					Dispatch( {}, "", Panel Box( 2 ), {Visibility( "Collapse" )} ),
					Dispatch( {}, "", Lineup Box( 2 ), {Visibility( "Collapse" )} ),
					Dispatch( {}, "", List Box( 23 ), {Visibility( "Collapse" )} )
				)
			)
		),
		Text Box( "Other content here" )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;By just collapsing all boxes I don't need I could eliminate the parts of the window I do not want!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pauldeen_0-1614885404400.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30981iB45569942E8F6B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pauldeen_0-1614885404400.png" alt="pauldeen_0-1614885404400.png" /&gt;&lt;/span&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>Thu, 04 Mar 2021 19:17:01 GMT</pubDate>
    <dc:creator>pauldeen</dc:creator>
    <dc:date>2021-03-04T19:17:01Z</dc:date>
    <item>
      <title>Embed a JMP platform dialog into a new window()</title>
      <link>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365109#M61449</link>
      <description>&lt;P&gt;Is there a way to embed part of a JMP built in platform dialog into a new window(). In this case specificaly I would like to embed the construct model effects window from fit model into a custom script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pauldeen_0-1614863747609.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30972i0EFD9784BBDA9C7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pauldeen_0-1614863747609.png" alt="pauldeen_0-1614863747609.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:07:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365109#M61449</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2023-06-09T22:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Embed a JMP platform dialo into a new window()</title>
      <link>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365126#M61450</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/92"&gt;@pauldeen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You sure can. Here's a simple example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fmWindow = New Window( "Fit Model Dialog Example",
	H List Box(
		Text Box( "Other content here" ),
		Panel Box( "Launch Window",
		fm = Fit Model( Personality( Standard Least Squares ), Emphasis( Minimal Report ) )
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Edit--&lt;/P&gt;
&lt;P&gt;As Chris pointed out, it looks like I skipped a critical part of your question and you're interested in just part of that dialog. I don't know of a way to bring in just that component, though depending on your use case, you *might* be able to accomplish what you're after by working with the display of that content with Margin() after you bring in the entire dialog. I don't really recommend this method, but am sharing it in case it happens to be helpful:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fmWindow = New Window( "Fit Model Dialog Example",
	H List Box(
		pb = Panel Box( "Launch Window",
			fm = Fit Model( Personality( Standard Least Squares ), Emphasis( Minimal Report ) )
		),
		Text Box( "Other content here" )
	)
);
pb &amp;lt;&amp;lt; Margin( Left( -300 ), Top( -325 ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which will give:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="julian_0-1614877733296.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30980i6A9854DF0C69DD82/image-size/large?v=v2&amp;amp;px=999" role="button" title="julian_0-1614877733296.png" alt="julian_0-1614877733296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 17:13:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365126#M61450</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2021-03-04T17:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Embed a JMP platform dialo into a new window()</title>
      <link>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365134#M61451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/92"&gt;@pauldeen&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If I understand correctly, you would like to insert only the below highlighted piece into a window/custom dialog of your own. Not the whole dialog itself, correct?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Highlighted area.jpg" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30976iC86806E122BE2829/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Highlighted area.jpg" alt="Highlighted area.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 14:14:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365134#M61451</guid>
      <dc:creator>Chris_Kirchberg</dc:creator>
      <dc:date>2021-03-04T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Embed a JMP platform dialo into a new window()</title>
      <link>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365248#M61459</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Julian, with your hints I cracked it!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fmWindow = New Window( "Fit Model Dialog Example",
	H List Box(
		pb = Panel Box( "Launch Window",
			fm = Fit Model(
				Personality( Standard Least Squares ),
				Emphasis( Minimal Report ),
				SendToReport(
					Dispatch( {}, "", PanelBox, {Visibility( "Collapse" )} ),
					Dispatch( {}, "", Panel Box( 2 ), {Visibility( "Collapse" )} ),
					Dispatch( {}, "", Lineup Box( 2 ), {Visibility( "Collapse" )} ),
					Dispatch( {}, "", List Box( 23 ), {Visibility( "Collapse" )} )
				)
			)
		),
		Text Box( "Other content here" )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;By just collapsing all boxes I don't need I could eliminate the parts of the window I do not want!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pauldeen_0-1614885404400.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30981iB45569942E8F6B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pauldeen_0-1614885404400.png" alt="pauldeen_0-1614885404400.png" /&gt;&lt;/span&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>Thu, 04 Mar 2021 19:17:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365248#M61459</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-03-04T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Embed a JMP platform dialo into a new window()</title>
      <link>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365251#M61460</link>
      <description>&lt;P&gt;Brilliant! Nicely done,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/92"&gt;@pauldeen&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:19:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Embed-a-JMP-platform-dialog-into-a-new-window/m-p/365251#M61460</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2021-03-04T19:19:14Z</dc:date>
    </item>
  </channel>
</rss>

