具有複選框行為的 JMP15 模態視窗好的,我的程式碼在 JMP 14 中運行良好,如下所示:
ithead = "EAR Configuration for Factor Cross Plots";
itprompt = "Select to Include EAR warning on Factor Cross Plots.";
itwarn =
"WARNING – This document contains technical data classified under the Commerce Control List and assigned Export Control Classification Number (ECCN) 0A606.x and 0E606. ";
//determine if itar/ear warning is required
itwin = New Window( ithead,
<<MODAL></MODAL>
<P> </P>
<P>我發現現在基本上我的程式碼中嘗試獲取視窗關閉後輸出的所有實例在 JMP15 中都不再起作用,您可以使用 On Close 或 on Validate 來使大多數事情正常工作。這對我來說對文字框和關閉時有用。在這種情況下,我嘗試過:</P>
<P> </P>
<P> </P>
<CODE class=" language-jsl">ithead = "EAR Configuration for Factor Cross Plots";
itprompt = "Select to Include EAR warning on Factor Cross Plots.";
itwarn =
"WARNING – This document contains technical data classified under the Commerce Control List and assigned Export Control Classification Number (ECCN) 0A606.x and 0E606.";
//determine if itar/ear warning is required
itwin = New Window( ithead,
<<MODAL></MODAL>
<P> </P>
<P><SPAN style="font-family: inherit;">如果我使用“驗證時”,則會收到以下錯誤:</SPAN></P>
<P> </P>
Object 'EvalContextBox' does not recognize the message 'On Validate'; perhaps you mean one of these: <<INVAL size=""><<INVAL><<JOURNAL><<COPY data="https://community.jmp.com/"><<ON close="" window=""><<HORIZONTAL alignment=""><<ENABLED.>< re>
<P><SPAN style="font-family: inherit;">如果我使用“關閉時”並且不選擇該複選框 - 則無法關閉模式視窗。選擇「確定」不會執行任何操作,角落中的 X 也不會關閉模式視窗。如果我選擇該複選框,它將返回 1 並且工作正常。如果我選擇該複選框然後取消選擇它,視窗將不會關閉。如何返回 0 值並能夠關閉視窗?</SPAN></P><LINGO-LABS id="lingo-labs-386916" slang="en-US" mode="UPDATE"><LINGO-LABEL>實驗設計</LINGO-LABEL></LINGO-LABS></ENABLED.></HORIZONTAL></ON></COPY></JOURNAL></INVAL></INVAL>
回复:具有復選框行為的 JMP15 模態窗口我不知道返回結果選項 - 學習新技巧總是好的,謝謝。回复:具有復選框行為的 JMP15 模態窗口這是我最終使用的方法——最直接。謝謝!回复:具有復選框行為的 JMP15 模態窗口我認為您最好的解決方案是將設置變量 itar 的操作放在選中或取消選中復選框時執行的腳本中
ithead = "EAR Configuration for Factor Cross Plots";
itprompt = "Select to Include EAR warning on Factor Cross Plots.";
itwarn =
"WARNING – This document contains technical data classified under the Commerce Control List and assigned Export Control Classification Number (ECCN) 0A606.x and 0E606.";
//determine if itar/ear warning is required
itar = .;
itwin = New Window( ithead,
<<MODAL></MODAL>
回复:具有復選框行為的 JMP15 模態窗口試試<<返回結果信息獲取對話框結果的列表。
itwin = New Window( ithead,
<<MODAL></MODAL>
日誌(選中復選框時):
itwin = New Window( ithead,
<