cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

How to empty a col list box into a list variable

This is very simple, but for whatever reason the Scripting Index Help forgot to do this in the example.

 

I just want to empty all of a col list box in a modal window into a list variable.  If you answer for all *selected* that's great for people Googling this but I actually want the whole list, not just what the user selected.

 

 

topwindow = New Window( "Mean Comparisons",
    <<modal,
    H List Box(
        ll1 = Filter Col Selector( all ),
        Button Box( "Add",
            ll2 << append(
                ll1 << get selected/* so if we want only the selected, here it is */
            )
        ),
        ll2 = Col List Box( "numeric" ),
        Button Box( "OK", /*export all the items in ll2 somehow */ )
    )
);

 

 

thanks, -- Ben

1 ACCEPTED SOLUTION

Accepted Solutions
benjaminbuck
Level II

Re: How to empty a col list box into a list variable

1 REPLY 1
benjaminbuck
Level II

Re: How to empty a col list box into a list variable

<< get items()

Recommended Articles