cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
miguello
Level VII

Why can't I have duplicate values in List Box?

If I run this:

lb = List Box({"qwerqwerr", "qwerqwerr"});

nwTest = New Window("Test ListBox Duplicate values", lb);

I will get a List Box with only one line. Why?

List Box accepts lists, lists can have duplicate values, why can't Lis Box have duplicate values?

If I pass a list with duplicate values to List Box, what's shown in the List Box is not the list that was passed with now additional warnings or errors.

IS it by design? Why? Any workarounds?

11 REPLIES 11
miguello
Level VII

Re: Why can't I have duplicate values in List Box?

You named two different String Col Boxes in two different windows the same name. So the second assignment overwrites the first one.

Funny behavior => no matter buttons in which window I press, the second window updates.

Re: Why can't I have duplicate values in List Box?

That 'control' is a composite object starting with an outline box. You can investigate the structure (display tree) by right-clicking the outline box and select Edit > Show Tree Structure. The list is presented in a List Box, the same object you started with.

 

Screenshot 2022-12-01 at 9.38.51 AM.png

Recommended Articles