* loop over the array, checking each item against the given list for n = 1 to m.lnLen && cycle over rows if at(.btcValArray[m.n, 2], m.list_arg)>0 && this item is to be selected .Container1.List1.selected(m.n) = .t. && flag list item as Selected endif endforSo, just set selected property to true for your items.