try to make a column list box so the user can select parameters for analysis.
Want to limit to column with data type "character" in this col list box. Use the script below but it report all columns.
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(colListData<<GetSelected)),
colListY = ColListBox(nLines(5),"character"),
),
),
panelbox("Action",
button box("OK",
list = eval(colListY<<getitems);
nw << close window;
),
button box("Cancel",nw<<close window),
button box ("Remove",
colListY<<removeselected;
)
)
))
);