If there could be thousands of them, you'd probably be better putting them into a single list box - something like this:
lblist = {"AAA", "BBB", "CCC", "DDD", "EEE"};
lb = list box(lblist, nlines(min(nItems(lblist), 30)));
WriteToLog = expr(show(lb << get selected));
okbox = buttonbox("Do Something", WriteToLog);
nw = new window("Control", lineupbox(ncol(1), lb, okbox));