具有复选框行为的 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 来使大多数功能正常工作。这对我来说对文本框和 On Close 都有效。在这种情况下,我尝试了:</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;">如果我使用 On Validate,我会收到以下错误:</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;">如果我使用 On Close 而不选择复选框 - 则无法关闭模式窗口。选择 OK 不会执行任何操作,角落中的 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,
<