New question related to the above. I'm creating a col box containing combo boxes, and need to loop over them getting the selected value for each combo box. However there doesn't seem to be a method to doing this.
nw = new window("Test Colboxes",
tb = table box(
string col box("String", {"One", "Two"}),
date_nceb = number col edit box("Dates", {1, 2}),
cb = col box("Combo boxes"),
),
button box("OK",
cb_list = cb << get;
print(cb_list, nitems(cb_list));
)
);
cb << append(combo box({"ABC", "DEF"}));
cb << append(combo box({"GHI", "FUBAR"}));
pmroz_0-1614120481415.png
Clicking OK shows this in the log:
{"", ""}
2
I want to get the list of combo boxes.