复选框不会显示在输入提示输入中// New dialog for script selection
scripts = {"Box Plot", "Box Plot_sublot_trend", "Box Plot_duration_trend", "Box Plot_FT1vsFT2", "Tabulation", "CDF&PDF11"};
scriptSelections = J(1, N Items(scripts), 0);
// Initialize the checkboxes array
cb = {};
nw2 = New Window("Script Selection", <<MODAL></MODAL>So I have several sub scripts for my main script to call, I wanted to create a checkbox where the user can select which sub scripts to run (from <CODE class=" language-jsl">Box Plot", "Box Plot_sublot_trend", "Box Plot_duration_trend", "Box Plot_FT1vsFT2", "Tabulation", "CDF&PDF11.) But no matter what I do I only get an empty window with the line " Select Scripts to run".
How can I solve this? Thanks!
<LINGO-LABS id="lingo-labs-774913" slang="en-US" mode="CREATE"><LINGO-LABEL>自动化和脚本</LINGO-LABEL><LINGO-LABEL>数据访问</LINGO-LABEL><LINGO-LABEL>视窗</LINGO-LABEL></LINGO-LABS>回复:复选框不会显示在输入提示输入中无需使用带有复选框的 For 循环。 显示函数 (jmp.com)和为新窗口构建显示框 (jmp.com)
这可能不完全正确,但给出了如何使用复选框的想法
Names Default To Here(1);
// New dialog for script selection
scripts = {"Box Plot", "Box Plot_sublot_trend", "Box Plot_duration_trend", "Box Plot_FT1vsFT2",
"Tabulation", "CDF&PDF11"};
scriptSelections = J(1, N Items(scripts), 0);
// Initialize the checkboxes array
cb = {};
nw2 = New Window("Script Selection",
<<MODAL></MODAL>
<P>也不要使用<<在模态窗口上关闭窗口,否则您会遇到各种各样的问题。</P>
<P> </P>回复:复选框不会显示在输入提示输入中谢谢你的回复,我已经让它工作了,但是一旦我整合了“<
// New dialog for script selection
scripts = {"Box Plot", "Box Plot_sublot_trend", "Box Plot_duration_trend", "Box Plot_FT1vsFT2", "Tabulation", "CDF&PDF11"};
// Initialize the checkboxes array
cb = {};
nw2 = New Window("Script Selection",
<<MODAL></MODAL>回复:复选框不会显示在输入提示输入中由于您正在使用<<模式窗口,因此您必须在关闭之前收集结果
nw2 = New Window("Script Selection",
<<MODAL></MODAL>
<P>and then remove <CODE class=" language-jsl">selectedScripts = cb << get selected after the modal. You should also remove all the parts where you are trying to close nw2 as it is already closed when user presses OK/Cancel.
<CODE class=" language-jsl">Names Default To Here(1);
scripts = {"Box Plot", "Box Plot_sublot_trend", "Box Plot_duration_trend", "Box Plot_FT1vsFT2",
"Tabulation", "CDF&PDF11"};
nw2 = New Window("Script Selection",
<<MODAL></MODAL>回复:复选框不会显示在输入提示输入中太感谢了!!