cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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