将 JMP 平台对话框嵌入新窗口()有没有办法将 JMP 内置平台对话框的一部分嵌入到新的 window() 中。 在这种情况下,我想将构建模型效果窗口从拟合模型嵌入到自定义脚本中:

脚本回复:将 JMP 平台对话框嵌入新窗口()杰出的! 做得很好, @pauldeen !
回复:将 JMP 平台对话框嵌入新窗口()
谢谢朱利安,根据你的提示,我破解了它!
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" )
)
);通过折叠我不需要的所有框,我可以消除我不想要的窗口部分!

回复:将 JMP 平台对话框嵌入新窗口()你好@pauldeen ,
如果我理解正确,您只想将下面突出显示的部分插入您自己的窗口/自定义对话框中。 不是整个对话本身,对吗?

回复:将 JMP 平台对话框嵌入新窗口()你好@pauldeen ,
你当然可以。 这是一个简单的例子:
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 ) )
)
)
);
我希望这有帮助!
@朱利安
- 编辑 -
正如克里斯指出的那样,看起来我跳过了您问题的关键部分,而您只对该对话的一部分感兴趣。 我不知道只引入该组件的方法,尽管根据您的用例,您*可能*能够通过在您引入后使用 Margin() 显示该内容来完成您所追求的在整个对话框中。 我真的不推荐这种方法,但如果它碰巧有帮助,我会分享它:
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 << Margin( Left( -300 ), Top( -325 ) );
这将给出:
