cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
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()