如何使 Col 列錶框僅報告特定資料類型嘗試製作一個列列錶框,以便使用者可以選擇參數進行分析。
想要限制在此列列錶框中資料類型為「字元」的列。使用下面的腳本,但它會報告所有列。
nw = new window("Select Parameter for Pareto",
borderbox(left(3),top (2),
hlist box(
textBox("Select Group for Yield Analaysis"),
hlistbox(
vlistbox(
panelbox("Select group",
ColListData = collistbox( all, << set Data Type( "character" ));
)
)
),
panelbox("Select Parameters",
LineupBox(NCol(2),Spacing(3),
ButtonBox("Y, Columns", colListY<<APPEND></APPEND><LINGO-LABS id="lingo-labs-281634" slang="en-US" mode="UPDATE"><LINGO-LABEL>進階統計建模</LINGO-LABEL><LINGO-LABEL>自動化和腳本編寫</LINGO-LABEL><LINGO-LABEL>內容組織</LINGO-LABEL><LINGO-LABEL>大規模客製化</LINGO-LABEL></LINGO-LABS>回复:如何使列列錶框報告僅特定數據類型這是您的代碼的返工。您已經將第一個 Col List Box() 限制為“Character”,只是沒有為第二個 Col List Box() 使用正確的語法

names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");
nw = new window("Select Parameter for Pareto",
borderbox(left(3),top (2),
hlist box(
textBox("Select Group for Yield Analaysis"),
hlistbox(
vlistbox(
panelbox("Select group",
ColListData = collistbox( all, << set Data Type( "character" ));
)
)
),
panelbox("Select Parameters",
LineupBox(NCol(2),Spacing(3),
ButtonBox("Y, Columns", colListY<<APPEND></APPEND>回复:如何使列列錶框報告僅特定數據類型試試看,但它仍然顯示所有列。
回复:如何使列列錶框報告僅特定數據類型以下是 Col List Box 可用的選項,取自 Scripting Inded
幫助==>腳本索引
它具有設置數據類型和建模類型的選項
