將 JMP 平台對話框嵌入新窗口()有沒有辦法將 JMP 內置平台對話框的一部分嵌入到新的 window(). 在這種情況下,我特別想將擬合模型中的構建模型效果窗口嵌入到自定義腳本中:

腳本回复:將 JMP 平台對話框嵌入新窗口()傑出的! 做得很好, @保丁!
回复:將 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 平台對話框嵌入新窗口()你好@保丁,
如果我理解正確,您只想將下面突出顯示的部分插入到您自己的窗口/自定義對話框中。 不是整個對話本身,對嗎?

回复:將 JMP 平台對話框嵌入新窗口()你好@保丁,
你當然可以。 這是一個簡單的例子:
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 ) );
這將給:
