Kontrollkästchen werden in einer Eingabeaufforderung nicht angezeigt// 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>Automatisierung und Skripting</LINGO-LABEL><LINGO-LABEL>Datenzugriff</LINGO-LABEL><LINGO-LABEL>Windows</LINGO-LABEL></LINGO-LABS>Betreff: Kontrollkästchen wird in einer Eingabeaufforderung nicht angezeigtBei Kontrollkästchen ist keine For-Schleife erforderlich. Anzeigefunktionen (jmp.com) und Anzeigefelder für neue Fenster erstellen (jmp.com)
Dies ist möglicherweise nicht ganz korrekt, gibt aber eine Vorstellung davon, wie Kontrollkästchen verwendet werden
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>Verwenden Sie außerdem nicht << Fenster schließen im modalen Fenster, da Sie sonst auf alle möglichen Probleme stoßen.</P>
<P> </P>Betreff: Kontrollkästchen wird in einer Eingabeaufforderung nicht angezeigtDanke für die Antwort, ich habe es zum Laufen gebracht, aber nachdem ich das "<
// 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>Betreff: Kontrollkästchen wird in einer Eingabeaufforderung nicht angezeigtDa Sie das modale Fenster << verwenden, müssen Sie die Ergebnisse sammeln, bevor es geschlossen wird
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>Betreff: Kontrollkästchen wird in einer Eingabeaufforderung nicht angezeigtVielen Dank!!