Hello all,
So I have a few lists, in this case fruit and vegetables, and based on my selection on the combo box I would like to populate the list box with the new list. For example, if I have "fruit" selected, I want the list box to display oranges, apples, and grapes. The script I have works, but it doesnt evaluate the list AND I also do not want it to keep appending the list box with my selection. Is there a way around this?
TestArray = {"Fruit", "Vegetables"}; //my list of 'stuff'
Fruit = {"Oranges", "Apples", "Grapes"};
Vegetables = {"Corn", "Squash", "Eggplants"};
nw = New Window( "Sample",
<<Modal,
vlb = H List Box(
cb = Combo Box(
TestArray,
tb2 << Append(cb << Get Selected);
),
tb2 = List Box()
)
);Thanks!