cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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